May 2014
Intermediate to advanced
624 pages
19h 43m
English
What you can’t do is close the editor, nor get your work back into the model. Up through iOS 5, the most straightforward way to get this done was to declare a @protocol in PRPasserEditController.h that PRPasserListController could implement. When the Cancel or Save button is pressed, the editor would use the delegate methods to signal the results to the list controller, its delegate.
But why do this, when Storyboard can eliminate the editor-side code entirely, and free the client from setting a delegate outlet and conforming to a strict API?
You can’t dig out of a view controller with an ordinary segue. If you control-dragged a segue from the Cancel button back to the PRPasserListController, you’d get a segue that creates ...