You can watch this episode by subscribing to Cocoacasts Plus.

Working With Guard in Swift

Guard Patterns, Tips, and Tricks

Working With Guard in Swift
1 Exit Early With Guard
2 Guard Patterns, Tips, and Tricks

In the previous episode, we explored what the guard statement is, how it differs from the if statement, and when it's appropriate to use it. This episode takes it one step further. I show you several patterns I use on a daily basis that take advantage of the guard statement.

Cocoacasts Plus

Are you ready to step up your game?

Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.