Sunday, September 8, 2013

iOS Core Data

into XCode and create a new project, and when you click next, create Master Detail application, and then when you click next you select the core data checkbox. [link]

In the story board, you will have a Navigation controller and Table view .

In the controller (for me its learningMasterViewController)
(NSFetchedResultsController *)fetchedResultsController

Click the + sign to add new entry

method in controller insertNewObject gets invoked:

(void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject

Part 2 [link]

[newManagedObject setValue:self.testy1.text forKey:@"mymsg"];

http://ronsit.blogspot.com/

No comments:

Post a Comment