- Run
$ make run-swiftgen
and$ make create-kmm-framework
- Run
$ make open
to open this project.
Change to build scheme which places the view you want to preview.
For example, if you preview AboutScreen.swift
file, change build scheme to AboutFeature
.
- In this app, we introduce Snapshot Testing. Snapshots are saved in each Test module's
__Snapshots__
directory. - Snapshots in
__Snapshots__
are stored in Git LFS. So if you want to snapshot test. Please install Git LFS andgit lfs pull
- When component or view's appearance are updated, there is no need to update snapshots in PR. CI will automaticaly update snapshots and create PullRequest.
Xcode version is 13.0
ios
├── DroidKaigi\ 2021
| | // Debug Configuration project
│ ├── Debug.xcodeproj/
| | // App Sources
│ ├── DroidKaigi\ 2021/
│ ├── Package.swift
| | // Release Configuration project
│ └── Release.xcodeproj/
├── DroidKaigi2021.xcworkspace
├── Mintfile
├── Package.swift
├── README.md
| // Swift Pacakge Sources
├── Sources
| // Swift Pacakge Tests
└── Tests
- Feature modules
- Module for each feature.
- Component
- Common components
- Defined components are mainly placed.
- Repository (If needed)
- Connecting with KMM Repository layer
- Utility
- Common logic, extensions
- etc (If needed)