'some' keyword allows a function to return a value that conforms to a protocol without revealing the concrete type.
← Swift theorytheory 0/50 · 0%
Advanced · medium
36. Opaque Types
Hiding implementation.
Check your understanding
1. Keyword for opaque type?
2. Difference from protocol?