Skip to content

Instantly share code, notes, and snippets.

View sydcurie's full-sized avatar

Junqiang Liu sydcurie

View GitHub Profile
@sydcurie
sydcurie / objc.cfg
Created August 12, 2011 03:25 — forked from tszming/objc.cfg
My uncrustify config file for objective-c
#
# uncrustify config file for objective-c and objective-c++
#
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
output_tab_size = 4 # new tab size
indent_columns = output_tab_size
indent_label = 2 # pos: absolute col, neg: relative column
indent_align_assign = FALSE
@sydcurie
sydcurie / styleguide.md
Created August 12, 2011 02:45 — forked from raphaelmor/styleguide.md
Code style guide

#Objective-C Style Guide ##Comments ###General Info Block comments /**/ should be avoided in favor of // (though they are not banned).

Inside comments, references to variables, classes and protocols should be surrounded by |.

// This class is responsible for keeping up to date a list of |Item| objects.
@sydcurie
sydcurie / checkstyleRules.md
Created August 12, 2011 02:45 — forked from raphaelmor/checkstyleRules.md
Rules for an Objective-C checkstyle tool

#Formating options for .h / .m

##File

###Rules

  • No EmptyLine at begining of file
  • No EmptyLine at end of file
  • Must start with FileCommentBlock
  • Must end with @end