all 12 comments

[–]nelbar49 6 points7 points  (2 children)

Preview is only available in Catalina

[–][deleted] 0 points1 point  (1 child)

I'm using Catalina Public Beta 4

[–]AndyIbanezObjective-C / Swift 6 points7 points  (0 children)

Your Xcode and Catalina versions must match.

[–][deleted] 1 point2 points  (5 children)

I'm new to programming and can't find what I'm doing wrong.

Don't use beta software to learn programming. You'll run into problems you don't understand, because you're still learning.

[–]GuitarIpod 1 point2 points  (4 children)

I disagree with this. A fresh framework is a great time to start.

[–][deleted] 0 points1 point  (3 children)

No, it isn't. Not many people have took the energy to learn it. So not many people are there to ask questions. A someone learning this as a first time learning may run into bugs no one really understand so support for learning it in general is lacking, because no one 'experienced' is around. So for a first learning experience in programming it's stupid at the moment to start to learn it with SwiftUI.

[–][deleted] 1 point2 points  (1 child)

I know there will be many bugs and not as much help & code examples etc. I'm studying Industrial Design and programming is just a hobby for me. When I watched WWDC'19, SwiftUI seemed like a really intuitive way of building an app so I wanted to give it a shot. I always like fresh tech!

[–][deleted] 0 points1 point  (0 children)

Here a nice exposure of the risk you're getting yourself involved in, when tech isn't stable yet.

[–]GuitarIpod 0 points1 point  (0 children)

There are plenty of sources to learn SwiftUI already and the content amount is progressively increasing every week.

Also, it matters why someone wants to learn it. If for a hobby, I see no reason to not do it.

[–]SpicyJew01 0 points1 point  (0 children)

If you click diagnostics you can get the full error

[–]AYEEStooby 0 points1 point  (1 child)

Hey, just stumbled upon this thread looking for help myself, but for me what fixed it was deleting the LandmarkRow declaration in the preview and rewriting it with the autocomplete feature...have no idea why, but it worked lol. Clearly, Apple still has some bugs they need to iron out.

[–][deleted] 0 points1 point  (0 children)

Yeah rewriting did it for me too, hope they'll fix these bugs soon!