Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6964] iOS: Establish code guidelines and source beautifier

GitHub Issuen/a
TypeNew Feature
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2012-01-25T16:33:33.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-02, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsn/a
ReporterStephen Tramer
AssigneeStephen Tramer
Created2012-01-03T12:47:58.000+0000
Updated2017-03-06T22:36:19.000+0000

Description

iOS needs to establish code guidelines and a source beautifying tool so that we can begin code cleanup and encourage new people working on the source to follow convention rather than paradigms from other languages or currently incorrect methodologies in the iOS codebase. We will also eventually want a clang AST plugin to perform tasks such as variable name analysis to ensure that everybody is following the right naming rules (camelcase, trailing underscore in args only, etc.) which could probably be integrated with the API metrics to provide some better information.

Comments

  1. Stephen Tramer 2012-01-04

    Modifications to the Coding Standards document: https://wiki.appcelerator.org/display/pe/Coding+Standards
  2. Stephen Tramer 2012-01-12

    Updated the wiki page with a link to the uncrustify config (as well as instructions on getting brew/uncrustify). The checkin was [tidevtools/648c83a](https://github.com/billdawson/tidevtools/commit/648c83a70b9f515d5438e5c4eec84bfc1051f245).
  3. Stephen Tramer 2012-01-25

    Never received feedback. The new code guidelines are the law and the lash!
  4. Lee Morris 2017-03-06

    Closing ticket due to time passed.

JSON Source