Skip navigation

We will update our Privacy Policy soon. Please see the preview.

Saving the managed object context

Saving the managed object context: Core Data for iOS and OS X
Saving the managed object context: Core Data for iOS and OS X

Join for an in-depth discussion in this video Saving the managed object context, part of Core Data for iOS and OS X.

Resume Transcript Auto-Scroll
Skill Level Intermediate
4h 29m
Show More Show Less

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:

[self dismissModalViewControllerAnimated:YES];

to the current recommended version:

[self dismissViewControllerAnimated:YES completion:nil];

It should take care of that message.

Skills covered in this course
Desktop Apps Developer Mobile Apps Databases iOS Mac OS X

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now