Tutorial.md

February 1, 2023 ยท View on GitHub

Advanced: Share state between modules

Let's improve counter app.

Let's begin!

  1. Download starter project
  2. Open Terminal app
  3. Go to Starter folder
  4. Install Bundler (Ruby gems version manager)
    1. Update gems gem update --system
    2. Run gem install bundler
  5. Install dependencies bundle install
  6. Install git-lfs if needed
    1. brew install git-lfs
    2. git lfs install
  7. Install Pods bundle exec pod install
  8. Open exmpl.xcworkspace via Xcode
  9. Go to first step!

Overview

  1. Upgrade routing
  2. Add module output
  3. Present second module
  4. Share state