We currently build Vienna with Xcode 16 and the macOS 15 SDK.
Most of Vienna is made with Objective-C, but some newer code is being created in Swift. We welcome both Objective-C and Swift contributions.
You should have a basic knowledge of Git and read this suggested workflow.
As a starting point, search for any issues with the help wanted 🆘 label.
Please let us know what you are working on by posting an issue on Vienna's github and assigning it to yourself.
Try to respect the code style of the code you modify.
For new Objective-C code or significant refactoring, it is advised to adopt the Spotify Objective-C Coding Style.
For Swift code, please try to follow the GitHub Swift Style Guide.
-
Separate subject line from body with a blank line.
-
Use present-tense, imperative-style for the subject line (as if you are giving orders to the codebase to change its behavior). This is shorter and consistent with commit texts automatically generated by Git.
-
Try to limit the subject line to 50 characters : consistent commit histories are easier to read. Avoid at all costs subject lines with more than 72 characters : Github will truncate them with an ellipsis.
-
Capitalize the subject line.
-
Do not end the subject line with a period.
-
Use the body to explain what and why (and not on the how). Focus on the reasons which required the change - the way things worked before the change (and what was wrong with that), the way they work now, and why you decided to solve it the way you did.
You may reference issues/discussions raised at GitHub, but avoid relying heavily on them: a reviewer should be able to make an analysis based solely on code and commit messages. -
It is recommended to hard wrap the body text at 72 characters (except for quoted material that is non-prose, like compiler error messages).