nsmanagedobject
Core Data NSManagedObject association count cache?
I am working on setting up a count cache for an (Foo)NSManagedObject\'s association(Bar). In object Foo, I want to keep a count of how many Bars it has. I want to avoid hitting the database every time[详细]
2023-03-28 19:51 分类:问答Sorting a NSSet of NSManagedObjects by a NSDate yields error
I am trying to pull in a RSS fee开发者_C百科d and sort by pubDate. When I examine the \'updated\' property, most of the time it is correct and give me a proper date but when I try to convert from a se[详细]
2023-03-26 21:34 分类:问答My NSManagedObject has 2 To-Many relationship, but only one can return correct class information
My NSManagedObject says Tag has 2 To-many relationships,says posts and children. And I let Xcode 4 to generate NSManagedObject subclass for it.But I find that only one relationship can return the co[详细]
2023-03-26 10:36 分类:问答Core Data merge two Managed Object Context
My Cocoa/Application has a Managed Object Context on the main thread. When I need to update my data my program will:[详细]
2023-03-26 09:03 分类:问答core data : differences between managed object and entities?
i would like to understand a bit more Core Data, why do we \"fetch\" and search for entities while the entities are \"inside\" managed objects? For example :[详细]
2023-03-25 16:38 分类:问答Multithreaded Core Data - NSManagedObject invalidated
As the title suggests im working with a Core Data Application which gets filled with objects in different background threads (XML Parsing)[详细]
2023-03-23 14:11 分类:问答NSObjectInaccessibleException after opening a uiviewcontroller
I am developing a app where with a custom tabbar opening different tableview. The information to the tableview is feeded by a JSON remote feed. And saved into Core Data with custom nsmanagedobject.[详细]
2023-03-22 21:26 分类:问答Sub-classing an NSManagedObject
I have a core data entity called Hospitals. There are three fields: name(string), latitude(double), and longitude(double).[详细]
2023-03-22 02:40 分类:问答NSManagedObjectModel initWithContentsOfURL returns nil eventhough the modelURL is valid
my NSManagedObjectModel is returning nil eventhough the path is correct. NSString *modelKey = [NSString stringWithFormat:@\"/%@/Model\", name];[详细]
2023-03-21 04:03 分类:问答Setting attribute of NSManagedObject is blocking the iPad UI' in Core Data
Firstly, I have found a couple of related questions on the issue with links pasted below, but none have really helped me solve the problem:[详细]
2023-03-20 19:29 分类:问答