Join Simon Allardice for an in-depth discussion in this video Revisiting Core Data store types, part of Core Data for iOS and OS X.
All the applications we have been making are saving to a single physical store file.…We have seen this file a couple of times.…For Cocoa, you can find it by going out to your home folder, then into Library/Application…Support, certainly this is the path if you are accepting all the defaults.…And depending on what you've named that application you'll find an entry, and for me it's under…com.mycompany, you'll find an entry there for the actual saved store file.…Now one thing to be aware of is if you've used multiple projects with exactly the same…name, and same details, for example, a lot of copied projects, say several of the exercise…files, which are just the same project in various saved states, that they'll all be…trying to access the same file path. That may or may not be what you want.…
Now for iOS applications, it is also possible to navigate to the equivalent location for…the simulator, although it's a little more tedious to do because the path is not so obvious.…But again, still in my home folder /Library/Application Support, I actually have an entry here for iPhone Simulator.…
- Understanding Core Data and object persistence frameworks
- Creating a Core Data project
- Exploring data modeling
- Creating entities, attributes, and relationships
- Creating managed objects
- Fetching in Core Data
- Implementing undo and redo support
- Creating a Core Data Cocoa app without code
- Responding to validation issues
- Converting store types
- Preloading default data
Skill Level Intermediate
Q: In the CoursesViewController.m file, I receive a message that the method dismissModalViewControllerAnimated is no longer supported by Apple. Is there a newer method to use?
A: You may have received the warning that a call to the dismissModalViewControllerAnimated: method is now deprecated.
This is a recently deprecated method, so the code _will_ continue to work using that call, but to remove the warning, change the code from:
to the current recommended version:
[self dismissViewControllerAnimated:YES completion:nil];
It should take care of that message.
1. Getting Started
2. Modeling in Core Data
3. Saving in Core Data
Creating managed objects12m 46s
4. Fetching in Core Data
Using predicates9m 32s
5. Putting It Together: iOS
6. Putting It Together: Cocoa
7. Store Types and Model Changes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.