Composition in Swift and iOS

Mar 19, 2020 by Frank Courville
Composition is tough. Learn how to do it well.

Don't Subclass UIKit Controls, Wrap Them Instead

Feb 24, 2020 by Frank Courville
There aren't many reasons for which you would need to subclass a UIKit control. In this article, we look at what to do instead.

The 4 Steps to Properly Subclass UIView

Jan 29, 2020 by Frank Courville
Building views in code can seem daunting at first, especially when you're used to doing it in Interface Builder. Today, I'm going to show you that there isn't any magic to it.

How to Properly Remove Main.Storyboard (for iOS 13+)

Jan 21, 2020 by Frank Courville
If you start a new project and you're planning on building your UI in code, you'll need to remove Main.storyboard. Here are the steps to do it correctly on iOS 13+.

The Many Faces of UIViewController

Jan 13, 2020 by Frank Courville
Sometimes we want to break up massive view controllers, but we don't know where to start. Here's a simple framework to help you understand the different "types" of view controllers and how to layer them.