Join Simon Allardice for an in-depth discussion in this video Creating a Core Data Cocoa app without code, part of Core Data for iOS and OS X.
In the next few minutes we are going to take all the same Core Data ideas, entities, managed…object context, saving, fetching, deleting and put them all together again, but this…time in a Cocoa desktop style app.…And seeing as we did rather get buried in code doing this in iOS, this time around we…are going to take a different approach.…I am going to create a new OS X application, this is a Cocoa Application, and I'll call…this CodelessDemo, because we are going to do this without writing any Objective-C.…
This would not be possible in iOS, but we can do it in Cocoa because of Cocoa bindings.…So I'll give that a name, I want to make sure that Document-Based Application is unchecked,…Core Data and ARC are both checked, and everything else is unchecked.…Now of course, in a typical Cocoa App you will be writing code, but putting this constraint…on ourselves, seeing how much can be done without writing Objective-C will give you…a good idea of the power of Cocoa bindings when used together with Core Data, and I am…
- 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.