Use this approach to reuse logic that is shared and independent of rendering. This type of reuse requires you to correctly factor code so that the view is not connected with the controller. The controller manages any non-view related actions and passes any necessary information along to its view. UIViewControllers provides a view for convenience, but when you reuse a controller, you should create a custom view that you can factor to better support different devices.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices