Just wondering if anyone else has done a bit of tracing around SetValue() and Notify() - thoughts / comments much appreciated!
Say your UI has a button. I'm seeing two calls to Notify(Button_Changed) at startup before any UI events have occurred. I think the first is some kind of initialization, and the second on state restore. It all happens in the same AppKit thread so I can't be sure.
If these observations are correct, I guess this is by design. However...
Things start to get a little fiddly if you have logic across numerous controls where the value of one control determines the value of another and you only want to apply that logic for legitimate UI events. I don't think SetValueNoNotification() is really helpful here - it's more like I want to know where that Notify() is coming from and ignore those two pesky startup calls...
I've been messing around with a couple of hacky options using the timer (after the first tick...

So, yeah - any thoughts or suggestions, much appreciated!
Thanks, -Rob