For the following code, of the two comment preceded lines below, only the first works. NSManagedObject * Event = [NSEntityDescription insertNewObjectForEntityForName:str inManagedObjectContext:app.m
How can I detect changes to a specific attribute of an NSManagedObject? In my Core Data data model, I have a Product entity that represents a product for sale. The Product entity has several attribute
I am trying to make a duplicate of an existing NSManagedObject and related sub-objects in Core Data.I can\'t seem to find an easy way to do this.
I have an app I am working on that has 2 entities linked by a relationship (many to many). I currently have the app set up so that the rootviewcontroller controls the NSManagedObject (getting, setting
I am using CoreData and have an Entity ContactList defined, which I created using the XCode xcdatamodel tool (or whatever you call that built-in thing:). I also set the Entity\'s Class name to \"Conta
I have a custom NSManagedObject subclass, say, Person. I also have a UIView registered with -addObserver:forKeyPath:options:context: to observe various properties of a Person, some of which are persis
Could someone please help me define a predicate that returns only NSManagedObject\'s who\'s \"letters\" attribute开发者_开发技巧 length is within a certain range?
I understand that NSNumber cannot go beyond 1/10ths place. What can I use as an alternative to add a doubles (longitude/latitude) into Core Data? Using double directly does not work and NSNumber trunc
my program needs to take a prepopulated sql database and then save the records to the app\'s database. Unfortunately for some reason the application quits in this method in the application delegate:
I\'ve set up my project with the \"use coredata\" option set. XCode obviously set all this up for me automatically, and now I have these lines in the app delegate header file: