- Use spaces, not tabs.
- Indents should be 4 spaces.
- As much as possible, limit each line to no more than 80 characters.
- Use Unicode UTF-8 and Unix newlines.
When in doubt, refer to this guide:
Style changes are:
- removing whitespace
- fixing indenting
If you are making a change to file, limit the number of style changes to as close to zero as possible so the diff can be easily read.
One strategy is to make your changes, submit the PR, have it accepted, then make a style commit onto develop.
Make sure your Xcode Text Editing settings match what you see in the screenshots below.