Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TedDaly72RIP

macrumors newbie
Original poster
Dec 7, 2018
6
3
Free Derry
So I installed the Xcode 11 beta on Mojave. When I came to use it, the one new feature I was interested in was the new SwiftUI language/system, but after mucking around with it for a while I realised it actually needs to be running on Catalina (beta) to be able to see the canvas. The canvas preview thing seems to be a major part of SwiftUI: it seems hard (impossible?) to do any real work without it, but before I can even try it out I need to sacrifice a machine to an entire beta OS?

What a bizarre decision. It will certainly hinder early uptake from those like me who are toying with the idea trying SwiftUI. The way it's (poorly) documented feels like an after-thought, so I'm guessing something forced Apple's hand here... Does anyone know what? Is this because of the iOS/macOS cross-platform-ness?
 
Why not make a partition on your hard drive for macOS Catalina and install Xcode there. That’s what I did, now I can boot into Catalina when I want to play around with new features or boot into my Mojave partition when doing regular work.

If you want to know more about SwiftUI Check our the several videos posted form wwdc on the apple developer page.

Clicking on a session will usually show the stream:https://developer.apple.com/wwdc19/schedule/#!/

Here is the intro to SwiftUI presentation:
https://developer.apple.com/videos/play/wwdc2019/204/

There is also a tutorials section on the developer website that takes you through a few projects using swiftUI.
https://developer.apple.com/tutorials/swiftui/

And here is the SwiftUI reference from apple.
https://developer.apple.com/documentation/swiftui/
 
Last edited:
Why not make a partition on your hard drive for macOS Catalina and install Xcode there. That’s what I did, now I can boot into Catalina when I want to play around with new features or boot into my Mojave partition when doing regular work.

That's not a bad idea. I might do it on an external drive though.
 
  • Like
Reactions: deadworlds
What a bizarre decision. It will certainly hinder early uptake from those like me who are toying with the idea trying SwiftUI. The way it's (poorly) documented feels like an after-thought, so I'm guessing something forced Apple's hand here... Does anyone know what? Is this because of the iOS/macOS cross-platform-ness?

I had to upgrade to Mojave to run the latest version of Xcode recently. It sounds like I'll need to upgrade again to try out SwiftUI. I can wait until the beta period is over.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.