nsmanagedobject
Why doesn't an NSManagedObject relationship object load properly unless I first access the description of the parent class?
I am loading a list of objects from CoreData like this: - (NSMutableArray *)loadAllPoisFromCache:(BOOL)includeCustom {[详细]
2023-02-06 05:28 分类:问答Comparing two NSManagedObjects
I have some code that loops through an array of NSManagedObjects and stops when it finds a certain record that is stored in an instance variable. The only way I can manage to see if they are the same[详细]
2023-02-06 00:09 分类:问答Core Data primary key ID for a row in the database
Suppose I have a list of books stored in Core Data. I want to search for a book by it\'s primary key ID.[详细]
2023-02-05 18:28 分类:问答ios create sqlite db and xcdatamodel
I wish use nsmanagedobject to use a sqlite database into my project.. I downloaded CoreDataBooks sample but there\'s something that I don\'t understand right...[详细]
2023-02-04 19:00 分类:问答Can't get rid of compiler warnings for primitiveValue accessors in transient property getter impls
I\'ve implemented a transient property as below on one of the models in my app.It is declared in the model design as a transient property with undefined type.[详细]
2023-02-02 08:20 分类:问答Permanent NSManagedObject URI from temporary URI?
I have an NSManagedObject subclass which stores URIs of child objects. It initially stores the temporary URI when a child object is first created, and implements -willSave to call -obtainPermanentIDsF[详细]
2023-02-01 18:09 分类:问答CoreData issue: -[NSManagedObject setValue:]: unrecognized selector sent to instance
I just started with CoreData yesterday, and I\'m going crazy :( I created a project that uses CoreData (ticked the box -use CoreData). Created the entities, and then created the NSManagedObject classe[详细]
2023-02-01 17:49 分类:问答Retaining Managed objects - more general retaining objects
A quick question regarding Managed Objects. I created an Array with Managed Objects (in Object 1: TableViewConbtroller), and pass one of those objects to another class/object (object 2: TableCell).[详细]
2023-02-01 06:27 分类:问答Debugging SIGABRT within NSManagedObjectContext -save:
From inside NSManagedObjectContext -save: I am getting this message: Assertion failed: (_Unwind_SjLj_Resume() can\'t return), function _Unwind_SjLj_Resume, file /SourceCache/libunwind/libunwind-24.1[详细]
2023-02-01 04:51 分类:问答NSManagedObject subclass woes
Hey guys, I\'ve got a subclass of an NSManagedObject. In awakeFromInsert and awakeFromFetch I\'m calling an initialization method which, among other things, starts an NSTimer.[详细]
2023-01-31 12:34 分类:问答