WatchOS Complications Don’t Have to Be Complicated, Part 1 – Families, Templates, & Initial Setup

Apple puts a strong emphasis on the Watch user experience outside of what you might traditionally consider “the application.” Their guidelines claim that: People frequently use a watchOS app’s related experiences — such as complications, notifications, and Siri interactions — more than they use the app itself. So they encourage developers to optimize the entire […]

UIScrollView with Content Layout Guides

UIScrollView has gone through some major improvements. Starting with iOS 11, Apple introduced content and frame layout guides to make it a little less confusing to configure the content inside of your scroll view. Xcode 11 also added these layout guides to interface builder. Today, I’ll show you how to use content and frame layout […]

Use Container Views and ReSwift (Redux) to Reduce ViewController Complexity

Perhaps you have heard of the Model View Controller (MVC) pattern in iOS, also known as “Mostly View Controller.” It got this name because, without much effort, your UIViewController code can get very large. In this blog post, I will show you how using container views and ReSwift (a Redux implementation in Swift) can be […]

UI Unit Testing in Your iOS Project

When you create a new project in Xcode, you’re given the option of including two types of tests: Unit Tests and UI Tests. But I’ve often wished that these two weren’t mutually exclusive. There have been times when I’ve wanted to test UI components in isolation, but I wasn’t sure how feasible it was, or […]