Intro to Guard & Defer

guard & defer

For some reason, this is the first explanation of Swift 2.0’s new guard and defer statements that makes perfect sense to me! It was written by Nate Cook over at NSHipster and is worth a read if you still find yourself confused about how best to use these new language features.