On Feb 12, 2014, at 07:58 , Fritz Anderson <[email protected]> wrote:

> On 11 Feb 2014, at 6:04 PM, Rick Mann <[email protected]> wrote:
> 
>> I'm updating an old project that was built long ago, skipping udpates for 
>> iOS 5 & 6. One of the things my app does, in an NSOperation, is call 
>> -performSelectorOnMainThread: (waiting until done) as it integrates 
>> downloaded data into the Core Data store (Core Data operations all happen on 
>> the main thread).
>> 
>> In iOS 6, this can bring the app to a grinding halt, despite the fact that 
>> each record integrated is done as a separate -performSelector call (I 
>> would've thought that'd let the main thread handle user events).
>> 
>> In iOS 7, it actually works really well, leading me to believe something 
>> changed in the way this is handled.
>> 
>> Any insight? Thanks!
> 
> <http://stackoverflow.com/questions/8637921/core-datas-nsprivatequeueconcurrencytype-and-sharing-objects-between-threads>
> 
> It contains a reference to a WWDC video.
> 
> Then search the Apple docs for NSMainQueueConcurrencyType, and follow the 
> links from there.

I think you misunderstand my question. I know about the new concurrency types. 
I'm not interested in that. I want to know why my old code works better on iOS 
7 than 6.

-- 
Rick



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to