Group Group Group Group Group Group Group Group Group

Your First iOS and SwiftUI App · SwiftUI Layout | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4919757-your-first-ios-and-swiftui-app/lessons/14

hello, i just update xcode, version now : 11.2.1 and macOS is Catalina 10.15
but the problem is, I can’t play the automatic preview.
what should I do? thank you!

@elishaenu Do you still have issues with this?

At 4:16, Ray drags the Slider object into the code and the following code is generated:

Slider(value: .constant(10))

However, in Xcode 11.4, I get the following:

Slider(value: Value)

where value is a placeholder. Not a big deal, as I can simply type in .constant(10) into the Value placeholder, but just thought I should note.

@borninla Thank you for the heads up - much appreciated!