Swift theorytheory 0/50 · 0%
Advanced · medium

36. Opaque Types

Hiding implementation.

'some' keyword allows a function to return a value that conforms to a protocol without revealing the concrete type.

Check your understanding

  1. 1. Keyword for opaque type?

  2. 2. Difference from protocol?