August 2025
Intermediate to advanced
270 pages
6h 16m
English
Hotwire Native comes with first-party support for native tabs with HotwireTabBarController. To configure the tabs for your app, you’ll have to do the following:
You’ll keep track of the individual tabs in a model object. It will be responsible for configuring each tab’s visual appearance and which URL to display from the server. Having this configuration in one place also means we can update a single file to change our tabs.
Get started by creating a new folder under App named Models. Then right-click the Models folder and select New File From Template….
Select the iOS tab at the top and Swift File under the Source ...
Read now
Unlock full access