Hello all,
I am using the following code in a project to insert a new record from a button click:
NSManagedObject *Entry = Entry = [NSEntityDescription insertNewObjectForEntityForName
"Entity"
inManagedObjectContext:context];
This code is working to add a new record to my database when I click my button.
It is not moving to the new record for editing.
I do not know how to explain this better then I have other then for the fact of after the record is inserted into the database I physically have to click on my table or use my move next or move previous buttons to get to the new record... The new record is not moved to automatically to start editing...
Thanks,
Kiefer
I am using the following code in a project to insert a new record from a button click:
NSManagedObject *Entry = Entry = [NSEntityDescription insertNewObjectForEntityForName
inManagedObjectContext:context];
This code is working to add a new record to my database when I click my button.
It is not moving to the new record for editing.
I do not know how to explain this better then I have other then for the fact of after the record is inserted into the database I physically have to click on my table or use my move next or move previous buttons to get to the new record... The new record is not moved to automatically to start editing...
Thanks,
Kiefer
Last edited: