Use any languages you want and work.
Don't put prefixes for classes.
Put -
in marks.
For protocools or super classes in marks, remove modules prefix, put spaces between words, a capital at start, and no capitals after.
For example, use: // MARK: - The name of protocool
instead of // MARK: - PTTheNameOfProtocool
Put fullstops after documented comments.
Use 4 spaces tabs.
Respect the hierarchy.
-
Put shared sources inside the Pisth Shared directory and group.
-
Put HTML, CSS and JavaScript sources for the terminal inside the Pisth Terminal directory and group.
-
Put sources for Pisth iOS app inside the Pisth directory and group and put sources for Pisth Viewer macOS app inside the Pisth Viewer directory and group.
If you want to contribute to the documentation, don't edit the docs
directory, but just document the code, the page will be generated by me with Jazzy, or if you want, generate it yourself.
Only do that if you modified code on Pisth API
.
- Install Jazzy:
[sudo] gem install jazzy
-
And run the
Pisth API/build-documentation.sh
script insidePisth API
. -
Increment
version
field indocs/docsets/Pisth_API.xml