Objective-C style guide

Skip to end of metadata
Go to start of metadata

Intro

  • Just some notes about Objective-C coding styles that I like.
  • Generally a fan of the Allman style

Comments

  • Start of functions have a minimum of // and two leading spaces.
  • Allows easy scanning of code to find start / end of functions.
  • Single line comments should be brief.
  • Acceptable to use fragments, if full sentence use a period.
  • Consider logging rather then just commenting, but not both.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.