nsmanagedobject
Setting an iterated value for an attribute by counting related items in Core Data
I\'m trying to set an attribute value to an automatically iterated number based on a to one relationship. I have an entity called \"Encounter\" that has a to many relationship to \"Round\" and I need[详细]
2023-03-11 13:35 分类:问答How to correctly implement a custom initializer for a subclassed NSManagedObject
I am wondering what the correct way is to create my own initializer of a class that is subclassing NSManagedObject.[详细]
2023-03-09 21:15 分类:问答Can't set member variable twice (NSManagedObject)
I am getting the EXC_BAD_ACCESS error when trying to set a value inside a subclass of NSManagedObject for the second time.[详细]
2023-03-09 16:28 分类:问答NSManagedObject Custom Accessor Method
I hope someone can give me some helpful suggestions on what to do about this. I have been trying several ways to sort a set of entities that have the relationship client<-->>job based on a custom[详细]
2023-03-09 06:35 分类:问答for Xcode produced Core Data managed objects, do I need to add a dealloc method to release variables?
for Xcode produced Core Data managed objects, do I need to add a dea开发者_开发知识库lloc method to release variables?[详细]
2023-03-08 08:22 分类:问答Why Automatically Created NSManagedObject Subclass do not have "Proper" header?
If I created subclasses of NSManagedObject Subclass, I see these functions on the implementation files Business.m (for example)[详细]
2023-03-06 16:54 分类:问答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 分类:问答Disappearing NSManagedObjects
I am working on a document based application. When opening up a saved file, I load in the NSManagedObjectContext to a view controller.This view controller needs to observe changed on the property \"d[详细]
2023-03-05 03:42 分类:问答Failed to call designated initializer on NSManagedObject class 'Item'
I am using core-data to add/delete \'Items\' (NSManagedObject) to the model. However, I am receiving the error in the title:[详细]
2023-03-03 18:58 分类:问答NSManagedObject subclass with additional properties not defined in model
Is it possible to define additional properties to a NSManagedObject subclass that are not defined within the Core Data Model? I have a series of additional properties that I do not want to include in[详细]
2023-03-03 13:07 分类:问答