mirror of
https://github.com/element-hq/element-x-ios.git
synced 2026-01-16 23:01:33 +00:00
| .. | ||
| Templates/SimpleScreenExample | ||
| createScreen.sh | ||
| README.md | ||
| validate_lfs.sh | ||
Scripts
Create screen templates
New screen flows are currently using the MVVM-Coordinator pattern. Run Tools/Scripts/createScreen.sh to create a new screen and all its required dependencies.
Usage:
./createScreen.sh Folder MyScreenName
After that run xcodegen to regenerate the project.
createScreen.sh script will create:
Folderwithin the/ElementX/Sources/Screens/. Files inside will be namedMyScreenNameXxx.MyScreenNameScreenUITests.swiftwithinUITests/SourcesMyScreenNameViewModelTests.swiftwithinUnitTests/Sources/Unit