nsmanagedobjectcontext
where to implement Core Data?
I´m completely new to core data programming. i just try to find out where the best place for implementing the core data code would be. i´ve done the apple tutorial Locations and it worked well. now[详细]
2023-03-19 15:53 分类:问答Singleton managedObjectContext
I want to use the singleton UIApplication to access the managedObjectContext of the AppDelegate. But when I write[详细]
2023-03-19 00:48 分类:问答Core Data delay when switching NSPersistentStore files
I\'m developing an app with Core Data that periodically downloads all the data from a webservice. Since the download can fail or be cancelled by the user, I want to be able to roll back to the previou[详细]
2023-03-18 15:13 分类:问答NSManagedObject: create on separate thread
I understand that Core Data is not thread safe and that NSManagedObjectContext and NSManagedObjects associated with a context cannot be passed from thread to thread.[详细]
2023-03-18 06:03 分类:问答Core Data: Deleting Views Stored in Core Data
I am trying to delete views that have a yellow shadow from my main viewcontroller. It registers the number correctly but it doesn\'t delete. (It doesn\'t update the view I have tried to call setNeed[详细]
2023-03-17 23:34 分类:问答Saving core data results in a crash
I have a problem with my core data. I am trying to save the context and I keep getting this error: \'NSInternalInconsistencyException\', reason: \'This 开发者_StackOverflow中文版NSPersistentStoreCoo[详细]
2023-03-17 16:07 分类:问答Obtaining the NSManagedObjectContext
开发者_开发百科Well I was reading the Core Data tutorial for iOS on Apple\'s website and I don\'t quite get it.[详细]
2023-03-17 04:48 分类:问答One or two managedObjectContext
I am currently developing an application which makes HTTP request (via AsiHTTPRequest) then parse a JSON stream. Basically there is a tableView/NSFetchedResultsController, which print objects fetched[详细]
2023-03-17 04:28 分类:问答Passing Managed Object Data Through didSelectRow UIPickerView
I\'m a bit lost on how to pass my fetched managed object data through a didSelectRow UIPickerView action.[详细]
2023-03-16 11:27 分类:问答NSManagedObjectContext: From a UIViewController, how do you get the ManagedObjectContext in iOS?
How do you know what the proper ManagedObjectContext is? Because I\'m not in the appDelegate (where I think the code is) and I keep getting crashes in my app - specifically, in the \'ViewDidLoad\' for[详细]
2023-03-16 06:13 分类:问答