What is the “some” keyword in Swift(UI)?
some View is an opaque result type as introduced by SE-0244 and is available in Swift 5.1 with Xcode 11. You can think of this as being a “reverse” generic placeholder. Unlike a regular generic placeholder which is satisfied by the caller: protocol P {} struct S1 : P {} struct S2 : P {} … Read more