Updated struct.

This commit is contained in:
Ivan Vorobei
2021-05-22 10:24:00 +03:00
parent fb8bc8c435
commit a9507babf4
8 changed files with 198 additions and 6 deletions

28
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,28 @@
# 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.