Vanquish Massive View Controllers Forever

Enroll in my free 5 day course that will help you make massive view controllers a thing of the past.

Everything You Know About GCD Is a Lie

I've been working hard on the Mastering iOS Concurrency with GCD Workshop, and I've realized that there's a lot of things that we take for granted about concurrency on iOS that's not necessarily true.
Continue reading

Getting Distractions Under Control

Distraction has been at the forefront of my mind recently because, more so than ever, I feel like I’ve finally gotten a handle on this problem. Sitting down to do focused work was becoming very difficult. And I know I’m not the only one to feel like this either.

Continue reading

Decoding Typesafe Responses

Last time, we looked at how to define the requests in our network layer in a way that keeps our code clean. But that was only half of the problem. Let's see how we can apply the same technique to decode our responses.
Continue reading

Keeping Your Network Layer Clean With DRY

Nearly every app interacts with a server on the web, and often more than one. You’d think that we all take great care of our network layer and make sure it evolves into something robust and reliable.

Continue reading

Remove associated type requirements by moving from protocols to structs

A few years ago, I wrote about a simple technique to encourage code reuse in data sources. I used this all the time in Objective-C, but I could never get it to quite feel right in Swift. I always had to resort to using type erasers or simply forgo strong types altogether.
Continue reading
Newer Older