Hi
When creating new SwiftUI App we get the struct below in the ContentView.Swift file, but as I know sturct can't inherit or I missed something here ? and whats the word some means ? its not the struct name or the parent struct so whats its used for ?
struct ContentView: view {
ver body: some view {
Text ( "Hello World" )
}
}
When creating new SwiftUI App we get the struct below in the ContentView.Swift file, but as I know sturct can't inherit or I missed something here ? and whats the word some means ? its not the struct name or the parent struct so whats its used for ?
struct ContentView: view {
ver body: some view {
Text ( "Hello World" )
}
}