> On Oct 6, 2016, at 11:36 AM, J.E. Schotsman <jesc...@xs4all.nl> wrote: > > CoreAnimation: warning, deleted thread with uncommitted CATransaction; set > CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
Definitely looks like a threading problem — the view tried to use CA on the background thread, but that thread isn’t set up to use CA. KVO and bindings aren’t aware of threads; they just call observers synchronously when properties change. Maybe someone’s come up with a generic proxy class that can be used to dispatch the notifications to the main thread? Threading is infamously hard. Any kind of messaging or data sharing between threads has to be thought through really carefully. Most Cocoa classes are _not_ thread-safe, so you have to be careful to either call them only on the main thread (AppKit, UIKit), or at least only use them from one thread at a time (Foundation). —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