mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Merge commit 'a8c505c2f9175ae0bece1f62708e6fc31e587897' into feature/3746_merge_element_1.9.10
# Conflicts: # Config/AppConfiguration.swift # Config/AppVersion.xcconfig # Podfile.lock # Riot/Modules/Application/AppCoordinator.swift # Riot/Modules/Common/Avatar/AvatarView.swift # Riot/Modules/Room/TimelineCells/Styles/Bubble/BubbleRoomTimelineCellProvider.m # Riot/Modules/Room/TimelineCells/Styles/Plain/PlainRoomTimelineCellProvider.m # Riot/Modules/Settings/Security/SecurityViewController.m # Riot/Modules/Settings/SettingsViewController.m # Riot/Modules/TabBar/TabBarCoordinator.swift # Riot/target.yml # fastlane/Fastfile # project.yml
This commit is contained in:
@@ -33,6 +33,39 @@ To use it (before it becomes an Xcode template):
|
||||
- Import created files in the Xcode project
|
||||
|
||||
|
||||
# SwiftUISimpleScreenTemplate
|
||||
This is the boilerplate to create a simple SwiftUI screen including view model, screen coordinator, unit and UI tests.
|
||||
|
||||
To create a screen from this template (before it becomes an Xcode template):
|
||||
|
||||
- `./createSwiftUISimpleScreen.sh ScreenFolder MyScreenName`
|
||||
- Import created files in the Xcode project
|
||||
|
||||
This will create `ScreenFolder` within the `RiotSwiftUI/Modules`. Files inside will be named `MyScreenNameXxx`.
|
||||
|
||||
|
||||
# SwiftUISingleScreenTempalte
|
||||
This is the boilerplate to create a simple SwiftUI screen including view model, screen coordinator, service, unit and UI tests.
|
||||
|
||||
To create a screen from this template (before it becomes an Xcode template):
|
||||
|
||||
- `./createSwiftUISingleScreen.sh ScreenFolder MyScreenName`
|
||||
- Import created files in the Xcode project
|
||||
|
||||
This will create `ScreenFolder` within the `RiotSwiftUI/Modules`. Files inside will be named `MyScreenNameXxx`.
|
||||
|
||||
|
||||
# SwiftUITwoScreenTemplate
|
||||
This is the boilerplate to create two single SwiftUI screens (including view models, screen coordinators, services, unit and UI tests) and a flow coordinator.
|
||||
|
||||
To create screens from this template (before it becomes an Xcode template):
|
||||
|
||||
- `./createSwiftUITwoScreen.sh TwoScreenFolder MyRootCoordinator FirstScreenName SecondScreenName`
|
||||
- Import created files in the Xcode project
|
||||
|
||||
This will create `TwoScreenFolder` within the `RiotSwiftUI/Modules`.
|
||||
|
||||
|
||||
# Usage example
|
||||
Following commands:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user