Series

Below you’ll find the different series of articles on overarching topics. If you want to deep dive into something, this is the place!

Building robust, reliable code with NSOperations.

You don’t belong on the main thread, so best move as much of your off of it. In this series, we explore how to create asynchronous operations to create non-trivial interactions. You’ll learn how to chain them together in series and in parallel, as well as how to abstract away commonly used operations so you can keep your code clean. Finally, we dive into UIKit, and how we can integrate Apple-provided view controllers (like UIAlertController) and our own view controllers, into our operation chains.

Building custom layouts with UICollectionViewLayout

Are you tired of trying to shoehorn your custom use-cases into flow layout? In this series, we explore how to create a custom UICollectionViewLayout from scratch! You’ll learn the different parts of UICollectionViewLayout and how to override its laundry list of methods to acheive the layout that your heart truly desires. You’ll also learn the magic (and madness) to getting self-sizing cells to work, and we’ll even dabble in cell animations!