UIHostingController in SwiftUI 2020 (Use in UIViewController) - How To Bridge UIKit with SwiftUI.

Опубликовано: 25 Октябрь 2024
на канале: maxcodes
8,248
124

In this video, you will learn how to bridge SwiftUI into UIKit with UIHostingController. This allows you to use your SwiftUI views inside of your UIViewControllers and UIKit controllers. This is different from UIViewRepresentable in that UIViewRepresentable achieves a nearly opposite effect. IE: UIKit UI controllers in SwiftUI. (Btw, I'm back making videos! 2-3 per week)

corresponding medium article: https://medium.com/@max.codes/use-swi...

newsletter: https://www.maxcodes.io/
community slack channel: https://join.slack.com/t/maxcodes/sha...

Social Media (contact me)

Twitter:   / maxcodes1  
Instagram:   / mackscodes  
medium:   / max.codes  

Courses

https://www.maxcodes.io/courses
Learn Core Location MapKit: http://bit.ly/ytmapkit
Learn Core Data: http://bit.ly/injectcoredata
(Build the Pinterest Layout) Collection View Course: http://bit.ly/cvlayouts
UITableView Animations: http://bit.ly/uitableviews
Build a Beginner To Do List: http://bit.ly/todolistswift
Animations: https://www.udemy.com/coreanimation/?...

Dope Coding Merch if interested:

laptop coding stickers: https://www.maxcodes.io/stickers

#swiftui #uihostingcontroller #iosdevelopment