Concept Flow - Associated types in protocols
Define Protocol with Associated Type
Create Struct/Class conforming to Protocol
Specify Concrete Type for Associated Type
Use Protocol with Concrete Type
Call Protocol Methods using Associated Type
This flow shows how a protocol declares an associated type, then a conforming type specifies it, and finally the protocol methods use that concrete type.