Monica Chin at the Verge has interviewed a variety of devs on the newfangled app development abilities in Swift Playgrounds:
In general it seems like no one expects to build really big apps in Swift Playgrounds, but it should be capable of helping folks fiddle. I particularly appreciate the idea that it’ll be useful to build and test new ideas for iOS/iPadOS apps before porting the idea into an “actual” app in Xcode.
In her conclusion, Monica says she’s optimistic about what this means for development on the iPad. I think I agree. I have been brushing up on my dev skills with Obsidian plugins, and I would love to make an actual iPad/iPhone app. Something to satisfy my gripes with the current PDF reading/annotating options, maybe…
I’ll at least work through the tutorials that they mentioned during the Keynote. Depending on whether pure SwiftUI provides enough capability for what I want to do, I may or may not end up writing an app.
Yup. There is no PDF rendering in SwiftUI (that I know of, v2) and until v3 there was no multiline rich text and no serialization of text. Now you can absolutely bridge to UIKit and AppKit but that might escape Playgrounds’ capabilities. If you need to bridge to deeper frameworks, I’d venture you’d be better off on Xcode.
I’m tempted to try it. Last summer I played around with some online courses in making apps and it was pretty fun, so might try to make an app with playgrounds instead of Xcode. Mine idea is pretty simple (text/emoji only, no complex layout) so probably a good fit for swiftUI.