Post not yet marked as solved
In Swift Playgrounds I wrote a simple playgrounds where I want to load a .reality file. How can I do that? From iCloud it doesn't load it correctly.
Post not yet marked as solved
If I create an object: for example a sphere of a certain material can I know its weight? Can I know the specific weight of a material among those I can choose in Reality Composer? Thank you to those who can help me.
Post not yet marked as solved
I wrote this code in swift Playgrounds
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
var body: some View {
Home()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
struct Home : View {
var body: some View {
VStack {
LazyVGrid(columns: Array(repeating: GridItem(.flexible(), spacing: 15), count: 3), spacing: 15) {
ForEach(0..<9,id:\.self){index in
Color.white
}
}
}
}
}
PlaygroundPage.current.setLiveView(ContentView())
and at lines witch contains LazyVGrid there is an error?
Is it possible having LazyVGrid in Playgrounds?