nsmanagedobjectcontext
How to share an entity between two different core data models
I\'m wondering how to share an entity between two different core data models? For example, I have a \"Universe\" model which describes a \"WorldData\" with its \"CountryData\". And in another hand, I[详细]
2023-02-01 12:36 分类:问答How to use ManagedObjectContext with threads
This is probably a very straight forward application, but I am new to Objective-C (coming from Java) and the whole memory management and \"EXC_BAD_ACCESS\" errors are breaking my heart.[详细]
2023-02-01 06:18 分类:问答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 分类:问答Core Data crash on a seemingly normal NSString field
I have another strange bug which I cannot figure out. I try to create a tableviewcell with the code below:[详细]
2023-02-01 00:36 分类:问答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 分类:问答Core Data: Illegal attempt to establish relationship + (null) context
I am parsing data on a background thread, inserting new entities and setting up relationships with other existing entities.[详细]
2023-01-28 11:38 分类:问答managedObjectContext in Other View
I have finally managed to get core data working and beginning to understand it. So far I have just been playing in a window based app with core data enabled, playing inside the app delegate files.[详细]
2023-01-27 20:59 分类:问答How do i get rid of '-managedObjectContext' not found in protocol(s)
my app runs on iPhone device and also in simulator. Everythings seems fine, but i see a compiler warning during build. I hate to deliver code thats not completely correct so i need to get rid of this[详细]
2023-01-27 19:06 分类:问答iPhone & Core Data - Removing NSManagedObject?
I\'m trying to remove a managed object context, but instead of removing the object itself it sets all instant variables to null.[详细]
2023-01-26 14:53 分类:问答Core Data: Can't Use Previously Saved Object
I am really stuck with these two things. What I am trying to do: My entity is simple. It\'s a \"record\".[详细]
2023-01-25 02:01 分类:问答