nsmanagedobjectcontext
Strategy for core data sales register
I have been trying to use a second managed object context (MOC) in core data to add sales which will be listed in an NSTableView as pending, until the user presses a button to process the transactions[详细]
2023-04-05 09:06 分类:问答When should we call ![[self ListController].FetchController performFetch:&error]?
+(void)CoreSetAllBiz : (NSString *) searchTerm{ [self ListController].FetchController.fetchRequest.predicate=[BNUtilitiesQuick getFinalPredicate:searchTerm];[详细]
2023-04-05 04:27 分类:问答How to delete an unsaved managed object safely?
My app offers some sort of editor functionality for \"text articles\". My editor has two modes. When the editor loads, I create a managed object if it hasn\'t been passed in through the initializer. W[详细]
2023-04-04 22:11 分类:问答Core Data: nil managed object context on my managed object
I\'m using 2 managed object contexts for efficiently important a large data set in the background. I\'m ensuring I\'m only using 1 managed object context at a time in the thread.[详细]
2023-04-04 18:00 分类:问答What's the Problem with Loading Objects to One Managed Object Context from Multiple Threads?
Ok, so I have multiple threads pull data from the persistent store (SQLite database) into a single NSManagedObjectContext (MOC) instance. I have tested it pretty thoroughly and in the case where opera[详细]
2023-04-04 07:08 分类:问答does NSManagedObjectContextDidSaveNotification get called for transient property updates?
I can\'t seem to get a clear answer for this: when you change a transient property, and then call save, should the NSManagedObjectContextDidSaveNotification be triggered? In my notification listener,[详细]
2023-04-03 22:21 分类:问答Does NSFetchedResultsController Observe All Changes to Persistent Store?
My program does work like link below: Update results of NSFetchedResultsController without a new fetch[详细]
2023-04-01 06:39 分类:问答Core Data: Observing new Entity of certain type
I would like to be notified whenever an entity of a certain type is added (and maybe changed/removed).[详细]
2023-04-01 04:53 分类:问答CoreData - doubt about when saving
I\'m starting in coreData, and I have a doubt. I have an App that reads data from a server, I parse the data, and get as NSDictionary of Objects.[详细]
2023-03-29 01:43 分类:问答NSManagedObjectContext save doesn't crash but breaks on objc_exception_throw
I am having the same issue described at this address http://www.cocoabuilder.com/archive/cocoa/288659-iphone-nsmanagedobjectcontext-save-doesn-crash-but-breaks-on-objc-exception-throw.html[详细]
2023-03-27 04:01 分类:问答