Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 2.35 KB

CONTRIBUTING.md

File metadata and controls

25 lines (13 loc) · 2.35 KB

Contribute

At this early stage there are two primary developers of TextSecure iOS: @corbett and @FredericJacobs and as we move from the early stages to more advanced ones opportunities will abound to contribute to the core code base. We are particularly interested in support and contributions associated localization, code review, and automated testing, with any of the Open Issues or Milestones. It may help to open an issue or milestone if you plan to make a contribution so we can be sure to clarify questions, give an overview of architectural plans, and ensure we do not overlap work.

Code Conventions

We are trying to follow the GitHub code conventions for Objective-C and we appreciate that pull requests do conform with those conventions.

In addition to that, always add curly braces to your if conditionals, even if there is no else.

One note, for programmers joining us from Java or similar language communities, note that exceptions are not commonly used for errors that may occur in normal use so familiarize yourself with NSError

Tabs vs Spaces

It's the eternal debate. We chose to adopt spaces. Please set your default Xcode configuration to 4 spaces for tabs, and 4 spaces for indentation (it's Xcode's default setting).

Tabs vs Spaces

If you don't agree with us, you can use the ClangFormat Xcode plugin to code with your favorite indentation style!

BitHub

Open Whisper Systems is currently experimenting with the funding privacy Free and Open Source software. Payments are opt-in for the TextSecure-iOS repo and can be enabled by adding MONEYMONEY in a commit message string. For example, this is the current Open WhisperSystems payout per commit, rendered dynamically as an image by the Open WhisperSystems BitHub instance:

Bithub Payment Amount