Skip to content

Latest commit

 

History

History

swift

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Swift

Sample

  • Keep up with the Objective-C style guide above. Will highlight differences here.
  • Use let whenever possible to make immutable variables
  • Name all parameters in functions and enum cases
  • Use trailing closures
  • Let the compiler infer the type whenever possible