Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · Video Course · 7 Results

Contained in: Integrating UIKit & SwiftUI swiftui Video Course
iOS & Swift
Integrating UIKit & SwiftUI
Learn how to integrate SwiftUI views into your UIKit apps and view hierarchies, and how to host UIKit views and view controllers in SwiftUI. Coordinate data flow from SwiftUI to UIKit and back again…
iOS & Swift

Replace a UIViewController with a SwiftUI View

…easy way to start using SwiftUI is to add some to your existing UIKit apps! Replace a UIViewController with a SwiftUI view in the storyboard, and manage data flow between SwiftUI and the rest…
iOS & Swift

Use a PHPickerViewController in SwiftUI

SwiftUI doesn't have a native photo picker, so you'll need UIKit's help to pick photos from your app. Learn how to use the new PHPicker in your SwiftUI apps…
iOS & Swift

Embed a SwiftUI View in UIKit

…have to replace entire view controllers to get started with SwiftUI. You can embed SwiftUI views right into your view hierarchy from the storyboard with the help of @IBSegueAction…
iOS & Swift

Host a UIKit View in SwiftUI

UIKit has a view or control that you need in your SwiftUI app, you can integrate it with UIViewRepresentable…
iOS & Swift

Implement a UIKit Delegate with a Coordinator

SwiftUI doesn't make much use of the delegate pattern, but it's required for many UIKit controls like the PHPicker. Use a coordinator to add the delegates you need to host UIKit views…
iOS & Swift

Use Target Action with a Coordinator

…coordinator can help you out with more than delegates! You can also use it to implement target action for UIKit controls in SwiftUI…