ios,objective-c,magicalrecord-2.2
The completion block captures the player reference before it's set so it will be nil when that block gets executed. If you want to use the new managed object later you should store it in a property and then call a method from the completion block, (possibly switching to the...
objective-c,core-data,ios8.1,magicalrecord-2.2
OK, so after having a bit of a prod and a poke around, I believe +[MagicalRecord cleanUp] needs some love. Basically, the persistent store coordinator is being released without first removing the SQLite persistent store. As you noted in another conversation we had about this, you need to reset the...
core-data,ios7,magicalrecord-2.2
You can't use saveWithBlockAndWait because it will still save even if you have code to exit the loop. Potentially you could reset the context before you exit, but you would need to carefully consider what side effects that could cause. So, you want to run a block where you have...
objective-c,ios7.1,magicalrecord-2.2
and further in AppDelegate.m as defaultContext = [NSManagedObjectContext MR_defaultContext]; ... this is likely AOK, since you are likely on the main thread. where it is used throughout the app. ... this is less OK, since "throughout the app" implies that are you possibly on not the main thread. You...