Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does XCode 4.2 story builder's "Defines Context" and "Provide Context" mean?

Tags:

In the Navigation Controller Attributes Inspector under View Controller section there are the "Defines Context" and "Provide Context" check boxes.

enter image description here

I cant find any documentation on this features. How to use it and what does it do?

like image 281
Tomer Even Avatar asked Jan 12 '12 20:01

Tomer Even


1 Answers

The "Defines Context" checkbox sets the definesPresentationContext property of the view controller. The "Provides Context" checkbox sets the providesPresentationContextTransitionStyle property.

If you want to learn more about these properties, watch WWDC 2011 Session 102: Implementing UIViewController Containment.

like image 105
rob mayoff Avatar answered Sep 28 '22 02:09

rob mayoff