An iOS+Swift 3.0 demo project for VIPER.
A stand in server for the mobile devices, using RoboHydra
- Install nvm
- Run
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
- Set it up for the current shell instance by running
export NVM_DIR="$HOME/.nvm"
, then[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
- Install Node 7.10.0
- Run
nvm install v7.10.0
- Check it installed correctly by running
node -v
- go to
mockserver
folder. - Run
npm install
to install project dependencies. You only need to do this the first time, or when dependencies change. - Run the server with
npm start
- Go to http://localhost:3000/robohydra-admin for the admin console.
- make sure your mock server has been setup and running.
- open
FruitApp/FruitApp.xcodeproj
by Xcode. - Enjoy it.
- Try to show that how to create a simple app with VIPER architecture.
- Demo data with a mockserver which used node & robohydra
- showing animaions & design idea.