I have a user interface to insert a transaction. as soon as the user clicks on the plus, he gets the screen, and I want to create an instance of the Core Data NSManagedObject so that the user can work on it. Then, when the user clicks the "Save" button, I call the save function.
so before the code:
transaction = (Transaction *)[NSEntityDescription insertNewObjectForEntityForName:@"Transaction" inManagedObjectContext:self.managedObjectContext];
PS I am using NSFetchedResultsController in this table, and I see that NSFetchedResultsController inserts a section and an object into the table.
My thought is that there is a way to create an instance of the NSManagedObject transaction, I could update it while keeping it until the client goes to.
iphone core-data nsmanagedobject nsfetchedresultscontroller
Edward Ashak 05 Oct '10 at 23:25 2010-10-05 23:25
source share