2 ms·
Some of the specialised iOS/OS X view controllers - e.g. UIImagePickerController - probably have a lot more than 400 lines. Other classes, like NSLayoutManager
by TheOtherHobbes 11y ago
Some of the specialised iOS/OS X view controllers - e.g. UIImagePickerController - probably have a lot more than 400 lines.
Other classes, like NSLayoutManager, look a lot like most of a view controller. But they're not officially a subclass of UIViewController, because they don't link directly to a view - even though they could have been designed to.
Apple makes a big deal of MVC, but I sometimes wonder if anyone knows what MVC really is - except possibly a design pattern for generating disagreements about MVC.