2021-06-15 21:47:31 +08:00
|
|
|
Language: ObjC
|
2016-03-11 04:53:06 +08:00
|
|
|
BasedOnStyle: Google
|
|
|
|
|
2021-06-15 21:47:31 +08:00
|
|
|
IndentWidth: 2
|
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ContinuationIndentWidth: 2
|
|
|
|
|
|
|
|
# For ObjC, the line limit is 100
|
|
|
|
ColumnLimit: 100
|
2016-03-11 04:53:06 +08:00
|
|
|
|
|
|
|
# Allow short case statements to be on a single line
|
|
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
|
|
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
2021-06-15 21:47:31 +08:00
|
|
|
AllowShortFunctionsOnASingleLine: Inline
|
2016-03-11 04:53:06 +08:00
|
|
|
|
|
|
|
# Allow spaces in NSArray/NSDictionary literals @[ and @{
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
|
|
|
|
# For pointers, always put the * next to the variable name.
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
PointerAlignment: Right
|
2021-06-15 21:47:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
Standard: Cpp11
|
|
|
|
|
|
|
|
BasedOnStyle: Google
|
|
|
|
|
|
|
|
# For C++, the line limit is 80
|
|
|
|
ColumnLimit: 80
|