Passing Values from SwiftUI to UIKit View

preview_player
Показать описание
In this video, Mohammad Azam will demonstrate how to pass values from SwiftUI view to UIKit view. You will learn how to setup Combine publishers and consume SwiftUI events in a UIKit application.

#iosdev #iosdeveloper #swiftui #swiftuitutorial

If you are looking for top quality iOS courses to elevate your skills then check out my courses:
Рекомендации по теме
Комментарии
Автор

Thank you for the content. Do you think UIKit still have a future, or we should go all in with SwiftUI? Thank you for your valuable insight!

prairieln
Автор

Hey, i've got maybe a dumb question, but why not to use @State in SwiftUI view instead of @Binding? In this case everything works well. And just add optional closure property to RaitingView to get the data from SwiftUI view?
With this approach, every time user tap on star the closure will be triggered, and we can use the data from SwiftUI view.🤔

miroslavberezovsky
visit shbcf.ru