Re: Difference between NSOperationQueue and NSThread in iOS4?
Re: Difference between NSOperationQueue and NSThread in iOS4?
- Subject: Re: Difference between NSOperationQueue and NSThread in iOS4?
- From: Dave Carrigan <email@hidden>
- Date: Wed, 25 Aug 2010 09:50:15 -0700
On Aug 25, 2010, at 9:41 AM, Scott Andrew wrote:
> I'll need to refigure this out becuase we are trying to load/draw a fairly complex page where the scrollview is transparent and there are several composited buttons on a an almost full screen view. I am still curious why this would work on OS 3.2 and not on OS 4 and work like butter. I wonder if the threads operations were scheduled differently or started from the main thread originally. The other place i go this idea was from the advanced iphone projects book.
I would bet that NSOperation on iOS4 is using grand central dispatch, whereas NSOperation on iOS3 probably used NSThreads. In any case, as the other commenter said, doing UI operations on any thread other than the main one is going to cause lots of weirdness.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden