Yes, you can upgrade to the Catalina Beta. Or, you can keep getting work done on Mojave and still enjoy the glory of SwiftUI exploration.
- Install Xcode 11 beta along side your 10.2.x Xcode
- Using the beta, create an iOS playground. (This won’t work with macOS, which attempts to use the native frameworks, which don’t yet support SwiftUI)
- Import both SwiftUI and PlaygroundSupport.
- Set the live view to a
Here’s an outline of the basic “Hello World” setup:
From there, you can create pages for each of your SwiftUI experiments, allowing you to build short, targeted applets to expand your exploration and understanding of the new technology.