Posts

Post not yet marked as solved
2 Replies
498 Views
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.
Posted
by giobus.
Last updated
.
Post not yet marked as solved
1 Replies
401 Views
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?
Posted
by giobus.
Last updated
.