This project demonstrates the use of newer and older best practices for iOS development by consuming the free Star Wars API on https://swapi.co/.
Just clone the project
git clone https://github.com/dvogels/CleanSWAPI
Make sure you have installed :
- Homebrew (https://brew.sh)
- RBENV(https://github.com/rbenv/rbenv)
- Install the appropriate ruby version in RBENV, found in .ruby-version
In your terminal, go to the project directory
- Install Bundler if this gem is not installed yet :
gem install bundler
- Install cocoapods if this gem is not installed yet :
gem install cocoapods
- Make sure all cocoapods are up 2 date :
pod repo update
- Install all gems locally in the vendor/bundle directory
bundle install --path vendor/bundle
- Install all Cocoapods in the Podfile
bundle exec pod install
- Open cleanswapi.xcworkspace