• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Difference between NSOperationQueue and NSThread in iOS4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Difference between NSOperationQueue and NSThread in iOS4?
      • From: David Duncan <email@hidden>
References: 
 >Difference between NSOperationQueue and NSThread in iOS4? (From: Scott Andrew <email@hidden>)
 >Re: Difference between NSOperationQueue and NSThread in iOS4? (From: Michael Ash <email@hidden>)
 >Re: Difference between NSOperationQueue and NSThread in iOS4? (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Difference between NSOperationQueue and NSThread in iOS4?
  • Next by Date: Re: Difference between NSOperationQueue and NSThread in iOS4?
  • Previous by thread: Re: Difference between NSOperationQueue and NSThread in iOS4?
  • Next by thread: Re: Difference between NSOperationQueue and NSThread in iOS4?
  • Index(es):
    • Date
    • Thread