Fresh Swift
  • About
  • Tags
Fresh Swift

#conditional


Missing The Else

In this post Soroush Knanlou explains why a Swift if statement without a matching else statement indicates a possible bug. A good tip to help us identify potential code smells.

Posted on August 17, 2018

#if  #else  #conditional 

Swift guard vs if let cheat sheet

This cheat sheet from Paul Wallace helps us make the right choice when choosing between using guard and if let in our Swift code.

Posted on May 20, 2018

#guard  #conditional 

 •  2021  •  Fresh Swift

Hugo v0.82.0 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo