mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-01-15 13:43:28 +01:00
29 lines
587 B
Markdown
29 lines
587 B
Markdown
# Contributing
|
|
|
|
Here provided more info about project, contribution process and recomended changes.
|
|
Please, read it before pull request or create issue.
|
|
|
|
## Codestyle
|
|
|
|
### Marks
|
|
|
|
For clean struct code good is using marks.
|
|
|
|
```swift
|
|
class Example {
|
|
|
|
// MARK: - Init
|
|
|
|
init() {}
|
|
}
|
|
```
|
|
|
|
Here you find all which using in project:
|
|
|
|
- // MARK: - Init
|
|
- // MARK: - Lifecycle
|
|
- // MARK: - Layout
|
|
- // MARK: - Helpers
|
|
|
|
If you can't find valid, add new to codestyle agreements please. Other can be use if class is large and need struct it even without adding to codestyle agreements.
|