Creating Core Data Project

Send Snippet To: Save this snippet to Code Collector Pro -- view all haxis's snippets
language: Other
license: Other

Code for Snippet:

1) Open Xcode and create a new project with the Master-Detail Application template.
2)Select iPhone as the device family and make sure Use Storyboards, Use Core Data, and Use Automatic Reference Counting are selected. Select Next, then Create.
3)Remove "Move to Trash"
4)Create Objective-C class FBCDMasterViewController
@property (nonatomic,strong) NSManagedObjectContext* managedObjectContext;
@synthesize managedObjectContext;
6) Remove the DetailView in StoryBoard
comments powered by Disqus


Tags: Coredata

Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 645
Date Added: 2012-11-20 13:59:34
Last Modified: 0000-00-00 00:00:00

Web Analytics