> On Oct 6, 2016, at 10:04 AM, J.E. Schotsman <jesc...@xs4all.nl> wrote:
> 
> Its doubleValue is bound to the progress value of my ProgressController 
> class, so is “animating" and “indeterminate".
> ...
> The progress value and other values are changed on a background thread.

That means that KVO is going to call the view’s observeChange method on your 
background thread, not on the main thread. Which I believe qualifies as 
“updating the UI from a background thread”, which is illegal. It may be that 
the view has fail-safe code to check for this and ignores the change. Have you 
checked the console for warnings?

(Disclaimer: It’s been way too long since I did any serious AppKit coding, so 
for all I know, maybe this setup is legal now. But this does seem a likely 
reason why things aren’t working.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to