Group Group Group Group Group Group Group Group Group

What does "some" exactly maen in SwiftUI?

I saw this keyword before but I am confused it

You read it like… it’s some kind of:

var body: some view {
}

Which mean body is some kind of view

1 Like

@maomao Please check out the opaque types section in our Swift 5.1. tutorial when you get a chance:

https://www.raywenderlich.com/4187396-what-s-new-in-swift-5-1#toc-anchor-003

I hope it helps!

1 Like