Skip to content

Instantly share code, notes, and snippets.

@benjaminbojko
Created August 5, 2014 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminbojko/d2e3ada291611b010ce4 to your computer and use it in GitHub Desktop.
Save benjaminbojko/d2e3ada291611b010ce4 to your computer and use it in GitHub Desktop.
Clang Format Settings for Xcode iOS Projects
---
BasedOnStyle: Google
PointerBindsToType: false
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
ColumnLimit: 160
UseTab: Never
IndentWidth: 4
TabWidth: 4
AllowAllParametersOfDeclarationOnNextLine: false
AlwaysBreakBeforeMultilineStrings: false
BinPackParameters: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlignTrailingComments: false
SpacesBeforeTrailingComments: 1
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment