Adding SwiftUI To An Existing UIKit Storyboard Project - Learn SwiftUI For iOS

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Get the full course with source code and lectures - www.udemy.com/...
    In this learn to code tutorial on SwiftUI App Development for iOS, we will learn how to take an existing UIKit based project with View Controllers and Storyboards and add a SwiftUI ContentView with ease.
    To do this, we will take advantage of a new SwiftUI object, the UIHostingController.

Komentáře • 13

  • @alex741321
    @alex741321 Před 3 lety +2

    Couldn’t you just do embed in navigation controller to add a nav bar with a back button?

  • @kaleid0scxpe595
    @kaleid0scxpe595 Před 2 lety

    thank you!

  • @sigmapifsc
    @sigmapifsc Před rokem

    what if I want to add a second SwiftUI view controller Any suggestions?

  • @ShubyDuan
    @ShubyDuan Před 3 lety +2

    Are you able to preview the swiftui view in this project?

  • @takeonparis
    @takeonparis Před 2 lety

    All I get is a blank page. That page executes the code just fine... but I can't see a thing.

  • @InfographicsFarsi
    @InfographicsFarsi Před 2 lety

    after (rootView: ContentView()) im getting this error: insert 'data:' any idea how to fix ?

  • @agannostudios
    @agannostudios Před 2 lety

    I'd like to do the reverse, can you please provide the link

  • @angelchavezreyes372
    @angelchavezreyes372 Před 3 lety

    Is it possible to do it in a storyboard project with minimum 12 version?

    • @jawaadsheikh
      @jawaadsheikh  Před 2 lety +1

      Yes, infact you can mix languages. Apple made it easy to streamline multiple languages into a project.

    • @ohhhcmooon
      @ohhhcmooon Před 28 dny

      SwiftUI is only available in ios 13

  • @dwpalme2670
    @dwpalme2670 Před 2 lety

    You talk way too much

    • @RenLemon
      @RenLemon Před 2 lety

      he explains everything really well - just turn the sound off to follow instead of complaining :p ;)