On Tue, 08 Mar 2011 01:23:18 +0200, Ariel Feinerman <[email protected]> said: >Hi, > >I wish to use kvo to get data from NSOperation and observe isFinished but on >witch thread is - observeValueForKeyPath:ofObject:change:context: executed?
Why not use NSLog and find out? :) Basically, you shouldn't make *any* assumptions about this. If you need to do something in response to isFinished that has to be on a particular thread (such as the main thread), then jump out to that thread in your implementation of observeValueForKeyPath:... The same is true if you post a notification from the NSOperation. m. -- matt neuburg, phd = [email protected], <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook_______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
