What is some view in SwiftUI?

The some keyword was introduced in Swift 5.1 and is used to define an Opaque Type. … So, in SwiftUI case, “some View” means that the body will always be implementing the View protocol , but the concrete implementation type does not need to be known by the caller.

Read more

What is a view in an app?

View objects are used specifically for drawing content onto the screen of an Android device . While you can instantiate a View in your Java code, the easiest way to use them is through an XML layout file. An example of this can be seen when you create an simple “Hello World” application in Android Studio.

Read more