Skip to content

Loading…

Style Cleanups #614

Closed
blakewatters opened this Issue · 1 comment

2 participants

@blakewatters
The RestKit Project member

There are few cosmetic changes to the coding style in the library I'd like to get in place:

  • Ensure the stars for all pointers belong to the variable rather than the type.
  • Let the compiler synthesize ivars rather than declaring them.
  • Move all private ivars into a class extension and synthesize them.
  • Eliminate any getter/setter overrides with KVO.
  • Get in line with the Apple convention of placing opening braces on a new line for methods.
@jawwad jawwad was assigned
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Strip trailing whitespace. Refs #614 1043308
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Standardize to have space after @property. Refs #614 086dcee
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Fix a few spacing issues. Refs #614 2cf60ff
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Fix spacing issues identified by uncrustify's "sp_before_sparen = add…
…" option. Refs #614
734b035
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Add missing space after comma. Refs #614
Used uncrustify's "sp_after_comma = add" option to detect issues.
6d71b2d
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Remove extra space before comma. Refs #614
Used uncrustify's "sp_before_comma = remove" option to detect issues.
46bf6e6
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Placing opening braces on a new line for methods to match Apple conve…
…ntion. Refs #614

Used uncrustify's "nl_fdef_brace = add" option to detect issues.
eaa5484
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Ensure the stars for all pointers belong to the variable rather than …
…the type. Refs #614
abb46c3
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Delete ivars that are already @synthesized. Refs #614. f86b3f0
@jawwad jawwad added a commit to jawwad/RestKit that referenced this issue
@jawwad jawwad Whitespace syntax cleanup. Refs #614 902a252
@jawwad jawwad added a commit that referenced this issue
@jawwad jawwad Whitespace syntax cleanup. Refs #614 82f4630
@blakewatters
The RestKit Project member

Merged to development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.