How to add SwiftUI views to Turbo Native apps

How to add SwiftUI views to Turbo Native apps

Hey again,

A major advantage of?Turbo Native?is the ability to drop down to Swift when needed. You can interact with native APIs or even render your entire view with SwiftUI.

Upgrading a web screen to native can add some polish to your app and make it feel a bit more at home on an iPhone. You also unlock some doors, like caching data for offline access and launching faster than a pure web-powered app.

Here’s the basics on how to integrate a SwiftUI view into your Turbo Native app.

[VIDEO] How to add SwiftUI views to Turbo Native apps

This 20ish video minute tutorial starts with my new example codebase. It has both a Rails and iOS app packaged together – each with the minimum needed to get Turbo Native up and running.

Bonus: After you clone the repo you can check out the swiftui branch to see the completed code example!

If you give this a go I'd love to know what you think. I'm writing a more detailed version for my upcoming Turbo Native book. And could use any feedback you'd like to share.

Thanks! Until next time. :)

P.S. I have some upcoming availability to work with a new client. If you’re looking for help with your Turbo Native app then check out my services page.

要查看或添加评论,请登录

Joe Masilotti的更多文章

  • Two new chapters and recent podcast appearances

    Two new chapters and recent podcast appearances

    Hey folks! I have a lot of exciting updates, so let’s dive right in. I finished the first draft of my book! I’ve been…

    1 条评论
  • What you’ll learn in “Hotwire Native for Rails Developers”

    What you’ll learn in “Hotwire Native for Rails Developers”

    A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So…

  • Hotwire Native book, now in beta!

    Hotwire Native book, now in beta!

    You can now buy my book, Hotwire Native for Rails Developers! Create intuitive and maintainable mobile apps powered by…

    31 条评论
  • Jumpstart Pro, now with Hotwire Native!

    Jumpstart Pro, now with Hotwire Native!

    Hey folks, I’m excited to share that Chris Oliver and I just launched a major update to Jumpstart Pro - the code…

    2 条评论
  • Burnout today, parental leave tomorrow

    Burnout today, parental leave tomorrow

    Hey there! My second son will be born in a few days. And I’m doing everything I can to spend as much time with him as…

  • The power of Turbo Native path configuration

    The power of Turbo Native path configuration

    Hey there, As you know, Turbo Native helps Rails developers build iOS and Android apps quickly, bridging the gap…

  • I signed a book deal! ??

    I signed a book deal! ??

    Hey folks, I’m thrilled to share some exciting news: I’ve officially signed a book deal with Pragmatic Bookshelf!…

    39 条评论
  • The secret tool to launch your Rails business in the app stores

    The secret tool to launch your Rails business in the app stores

    Let’s talk mobile. In our always-on, app-driven world, having a standout mobile presence isn’t just nice to have; it’s…

  • A roadmap for building Turbo Native apps

    A roadmap for building Turbo Native apps

    Hey folks, A big thank you to everyone that dropped by my live Q&A last week! I answered 20ish questions over the 90…

  • Turbo Native + Rails Q&A session

    Turbo Native + Rails Q&A session

    Hey folks, how’s your week going? I’ve been inside for the past… four days because Portland is covered in a sheet of…

    4 条评论

社区洞察

其他会员也浏览了