Extracting View and Layout Code into a Custom View

If you look at our view controller now, it is full of code that mostly is dealing with constraints, subviews, and overall layout. This is really the job of the view. In this episode we will extract this into a new view class. We'll also introduce a reusable base class that will handle the required view initializer dance for us, making the job of creating custom view classes a bit easier.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/475-layout-in-code-extract-background-view