Re: Safe to access the objectID property of an NSManagedObject from a different thread?

2016-03-26 Thread Mike Abdullah
That's one of the few methods which are safe. I don't think the docs ever state it, but it was mentioned in a WWDC session a few years ago Mike. Sent from my iPhone > On 26 Mar 2016, at 18:48, Ryan Meisters wrote: > > Hi! > > I've inherited a codebase which uses MagicalRecord extensively. It

Safe to access the objectID property of an NSManagedObject from a different thread?

2016-03-26 Thread Ryan Meisters
Hi! I've inherited a codebase which uses MagicalRecord extensively. It seems that the recommended pattern for saving with MagicalRecord is something like this: [MagicalRecord saveWithBlock:^(NSManagedObjectContext *backgroundContext){ Person *backgroundPerson = [mainThreadPerson MR_inContex