Hi All,
I am new to Xcode programming. I am inserting a new record using the following code connected to my button:
This code inserts a new record in my database but that's all it does...
What I cannot figure out is how do I get the newly inserted record moved to automatically so I can start editing the new blank fields.
I have asked this on several different forums and no one has given any help...
This is driving me nuts any help would greatly appreciated.
Thanks,
Keith
I am new to Xcode programming. I am inserting a new record using the following code connected to my button:
Code:
NSManagedObjectContext *context = [self managedObjectContext];
NSManagedObject *entity = [NSEntityDescription
insertNewObjectForEntityForName:@"Entity"
inManagedObjectContext:context];
This code inserts a new record in my database but that's all it does...
What I cannot figure out is how do I get the newly inserted record moved to automatically so I can start editing the new blank fields.
I have asked this on several different forums and no one has given any help...
This is driving me nuts any help would greatly appreciated.
Thanks,
Keith
Last edited by a moderator: