element-ios/Tools/Templates
2019-04-04 18:59:06 +02:00
..
buildable Productivity: Tweak templates a bit 2019-04-04 18:59:06 +02:00
createScreen.sh Productivity: createScreen.sh: Fix subFolder parameter again 2019-04-04 18:58:32 +02:00
README.md Productivity: createScreen.sh: Fix subFolder parameter again 2019-04-04 18:58:32 +02:00

The buildable contains templates with source files that build.

The goal is to turn these templates as Xcode templates. They are part of the Riot project in order to ensure they build

ScreenTemplate

This is the boilerplate to create a screen that follows the MVVM-C pattern within the Riot app.

To use it (before it becomes an Xcode template):

  • ./createScreen.sh ScreenFolder MyScreenName
  • Import the created folder in the Xcode project

This will create ScreenFolder within the Riot/Modules. Files inside will be called MyScreenNameXxx.

FlowCoordinatorTemplate

The boilerplate to create a root coordinator and its presenter bridge that can be used from Objective-C.

To use it (before it becomes an Xcode template):

  • ./createFlowCoordinator.sh MyFlowCoordinator [subFolder]
  • Import the created folder in the Xcode project

subFolder is an option subfolder under Riot/Modules/