Look at the issue tracker page. Is there an issue related to your contribution? If not consider creating one so others will know someone is aware of the issue and working on it. The issue page and comment thread are a great places to collect your thoughts on the problem and solution.
- Branch
master
is always stable and release-ready. - Branch
develop
is for development and merged intomaster
when stable. - Feature branches should be created for adding new features and merged into
develop
when ready. - Bug fix branches should be created for fixing bugs and merged into
develop
when ready. - See also: A successful Git branching model.
- Find an issue to work on, or create a new one. Avoid duplicates, please check existing issues!
- Fork the repo, or make sure you are synced with the latest changes on
develop
. - Create a new branch with a sweet name:
git checkout -b issue_<##>_<description>
. - Write unit tests when applicable.
- Keep your code nice and clean by adhering to the coding standards & guidelines below.
- Don't break unit tests or functionality.
- Update the documentation header comments if needed.
- Rebase on
develop
branch and resolve any conflicts before submitting a pull request! - Submit a pull request to the
develop
branch.
Clarity and readability should be prioritized, while redundancy should be avoided. Remember that verboseness does not necessarily yield clarity.
Adhere to the following sets of guidelines. In the event of contradictory rules, the order of the guides below denotes their precedence.
- GitHub's Swift Style Guide
- Ray Wenderlich's Swift Style Guide