
This video is only available to subscribers. Start a subscription today to get access to this and 469 other videos.
Providing UIKit Views to SwiftUI
Episode
#431
|
5 minutes
| published on
March 5, 2020
| Uses Xcode-11.4-beta, Swift-5.2
Subscribers Only
SwiftUI is really fun and easy to work with, but what if you need to work with a view that already exists? This episode covers the UIViewRepresentable protocol and we use it to provide a UIActivityIndicatorView to SwiftUI. The same approach can be used to wrap your own custom UIViews as well.