nsmanagedobjectcontext
managedObjectContext save fails with error being null
What would cause an error to come back null, this is what I have + (BOOL)saveContext:(NSManagedObjectContext *)context开发者_开发技巧[详细]
2023-01-24 10:14 分类:问答How to share a ManagedObjectContext when using UITabBarController with inner UINavigationControllers
I have an architectural question. My App uses a TabBarController right in the application window. The ApplicationDelegate creates the managedObjectContext, although it actually doesn\'t need it.[详细]
2023-01-24 01:59 分类:问答Saving an instance of an NSManagedObjectContext does not permanently save a mutable transformable attribute
I\'m using Core Data + sqlite as a data cache. The app reads in a file into core data, then uses Core Data to run the app. Saves are done to both the NSManagedObjectContext and to the file. I\'ve noti[详细]
2023-01-21 15:14 分类:问答NSManagedObjectContext CoreData device / simulator differences
I\'m relatively new to iPhone dev and have been trying to build an application to understand how CoreData works.[详细]
2023-01-20 14:12 分类:问答Core Data Saving to Database not Working
I\'m a first time Core Data user/learner for iPhone, I thought that [managedObjectContext save:$error] was used to save changes to the Persistant Store.[详细]
2023-01-20 02:00 分类:问答iPhone: transfer objects between NSManagedObjectContext objects?
I currently have an NSManagedObjectContext containing 5 Video Objects displayed in a table view. When a user selects a row, I\'m going to push in a new view controller to display object details, and[详细]
2023-01-16 07:58 分类:问答ManagedObjectContext seems to change after save and can't be changed by some other ViewController
I have a MOC created in my AppDelegate class. I have a MOC property in my RootView which is set by the AppDelegate with something like:[详细]
2023-01-15 21:40 分类:问答NSFetchedResultsController for same managed object (table)
I would like to know if I can do this VIEW 1: use NSFetchedResultsController on TABLEA to retrieve the data, display in a table view and take actions to save it[详细]
2023-01-15 15:29 分类:问答fetchresultscontroller issue or managed object context?
Reference POST: Core Data - Basic Questions I am able to get the Managed object context from this piece of code. It bring me to another question. I have 2 VIEW CONTROLLERS and 1 NSObject[详细]
2023-01-15 12:02 分类:问答Bizarre CoreData problem and even more bizarre solution. Any idea why?
I\'m a pretty comfortable CoreData user. I had a problem that was absolutely killing me, figured out what was going wrong and have NO CLUE why it was causing the problems I was seeing. Can anyone expl[详细]
2023-01-15 06:20 分类:问答