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.

Sizin İçin Seçtik  Should you use UI kits?

Leave a Reply

Your email address will not be published. Required fields are marked *