Skip to content

Commit

Permalink
Merge pull request kodecocodes#10 from rwenderlich/rwprefix
Browse files Browse the repository at this point in the history
Clarification on prefixes
  • Loading branch information
ndubbs committed Nov 12, 2013
2 parents 2104e00 + 6eb3dc2 commit b7d7827
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ UIButton *settingsButton;
UIButton *setBut;
```

A two letter prefix (e.g. `RW`) should always be used for class names and constants, however may be omitted for Core Data entity names. Constants should be camel-case with all words capitalized and prefixed by the related class name for clarity.
A two or three letter prefix should always be used for class names and constants, however may be omitted for Core Data entity names. For any official raywenderlich.com books, starter kits, or tutorials, the prefix 'RW' should be used.

Constants should be camel-case with all words capitalized and prefixed by the related class name for clarity.

**Good:**

Expand Down

0 comments on commit b7d7827

Please sign in to comment.