This repo contains an example Turbo Native app for Masilotti.com. It purposely does very little – articles build on this to demonstrate how to use the framework.
- The
ios/
directory contains the Xcode project with a minimum Turbo Native integration. - The
rails/
directory contains a companion Rails app with a singleArticle
record.
First, setup and run the Rails server.
Install the following:
- Ruby 3.2.2
- postgresql -
brew install postgresql
- node -
brew install node
- Yarn -
brew install yarn
Then, run the setup script and start the server.
bin/setup
bin/dev
Once the server is running you can start the iOS app.
- Download and install Xcode from the App Store
- Open
ios/Turbo Native Example.xcodeproj
- Run the app via Product → Run in Xcode
Each article or video has its own branch. After cloning the repo, checkout the corresponding branch to see the finished code.
- SwiftUI views -
swiftui
branch