News for hackers. Stuff that matters.
Re:Laying Out iOS UIs in Code by redshirtrob on Monday March 03, 2014 @12:06AM (#7332135)
Except UIViewController has a view property that is usually a container for a lot of other views. Sometimes it's desirable to add constraints to this view. Apple even provides API for this: UIViewController's updateViewConstraints method. I think of this as a compromise so we don't have to create a custom UIView subclass for every UIViewController subclass.

There are no comments on this comment yet.