Recorded – watch the full episode on YouTube.
Right now we can, at least backfill SwiftUI with UIKit components, with AppKit components, with anything else you need from the platform you're working for and designing for. So how do you handle that? How do you approach integrating key things from UIKit with SwiftUI?
Meng To: Again, very limited experience here. What I can say is that during the course, one thing I wanted to do was the background blur, and I know it's not feasible in SwiftUI. So, we had toe use
UIViewRepresentable. That was the only thing that I really need the UIKit for the course that I created.
I know also the pagination thing, a lot of people were asking about it, so you would have to use UIKit for that. But hopefully, at WWDC they're going to bring some of those things, the collection view and the background blower, the material sheets. That's on top of my mind right now.
“I want to see collection views desperately, and also I want to see things from other teams as well.”
Paul Hudson: I'm hoping for many, if not all of those things. There are some slightly ones that I worry less about. Like progress views, whatever, but I want to see collection views desperately, and also I want to see things from other teams as well. Because the first time everyone inside Apple has had the chance to see SwiftUI.
If you imagine, 14, 15 months ago when it was still top secret, apart from STS, of course knew about it, but no one else did. We know folks at Apple who are working on MapKit or Safari services, or I know
UIImagePickerController, all the other parts of the system that we want integrate regularly. I mean, maps are great. Having Safari embedded is great. Having image picker is great. All those teams have now had a full year to work with SwiftUI and hopefully think “how does my framework fit into SwiftUI world? What would a great map view look like in a SwiftUI world?”
I'm hoping to see lots of UIKit controls coming on board like
UIPageControl, which you mentioned, but also stacks of controls from other teams as well.
This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.
SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!
Link copied to your pasteboard.