Перейти к содержимому

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

maxcodes

0:00 / 0:00

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

8 597 просмотров · 6 лет назад
maxcodes
6,85 тыс. подписчиков
8 597 просмотров · 6 лет назад
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