nsmanagedobjectcontext
NSManagedObjectController not merging in changes from addingManagedObjectContext
I am trying to merge in changes in an addingManagedObjectContext into my main managedObjectContext by calling mergeChangesFromContextDidSaveNotification using an NSFetchedResultsController with CoreDa[详细]
2023-03-05 18:08 分类:问答managedObjectContext seems to delete my NSUserDefault
saving the managedObjectContext seems to eat the NSUserDefault NSString *defaultSiteUrl = [[NSUserDefaults standardUserDefaults] objectForKey:kSelectedSiteUrlKey];[详细]
2023-03-04 15:40 分类:问答Core Data / NSTextView breaks only after save
We have an NSTextView and some data saved about its contents in a core data Managed object context.Everything works great while the managed object context st开发者_如何学Goays in memory.However when w[详细]
2023-03-03 15:10 分类:问答NSManagedObjectContext saving/merging over multiple threads through notifcation center issue
This is more a why does this work and that doesn\'t kind of question... I am using CoreData over multiple threads. I have two threads being spawned off of the main threads and they both perform a sim[详细]
2023-03-03 02:20 分类:问答Managed Object Context Save Doesn't Make It To Persistent Store
In prepping my app for an update, I\'ve found a weird issue that\'s so far been a bit of a head-scratcher.[详细]
2023-03-02 16:49 分类:问答Editing NSManagedObject in duplicate context to merge it later on
When a user double taps a view in my application a uipopovercontroller presents him with the fields which he can edit. (Much like in the iPad calendar app)[详细]
2023-02-28 12:35 分类:问答How to remove a core data persistent store
I need to delete my persistent store (doing it object by object is not practical because I have over 100,000 objects). I\'ve tried this:[详细]
2023-02-28 09:40 分类:问答Correct approach for safely saving a Core Data managed object context on a background thread?
The Apple \"Concurrency with Core Data\" documentation states the following when discussing using core data with background threads.[详细]
2023-02-28 04:55 分类:问答When and how often to call processPendingChanges to ensure graph integrity
I have 开发者_开发技巧entities that are managed by Core Data and have several cases where, within a single method, I set some attribute values that will result graph changes that Core Data will enforc[详细]
2023-02-27 01:36 分类:问答Prevent Cora Data Insertions
Is there any way to get notified when an NSManagedObjectContext is about to insert an object, and then prevent 开发者_运维知识库this? Maybe a method like -shouldInsertObject: or something.[详细]
2023-02-25 04:06 分类:问答