UIKit

Pop multiple view controllers from the navigation stack

It's easy to move back to the previous view controller in the navigation controller's stack. Moving back more than one is trickier. Doing it elegantly even more so. This post covers how I finally came up with an elegant, generic solution to this problem.

Using Gradient Fills in UIKit

Gradient fills can add a life to any UI when used tastefully, and they are exceptionally easy to implement. Here we will fill a view with a simple gradient fill, and then change it to apply the gradient to just the view's text.