Glossary: Swift Beyond the Basics
associated type
Also written: associatedtype, associated types
A placeholder type inside a protocol that each conforming type chooses. In `Store`, `Item` is `String` for `BeanStore` and `Mug` for a mug store.
Glossary: Swift Beyond the Basics
Also written: associatedtype, associated types
A placeholder type inside a protocol that each conforming type chooses. In `Store`, `Item` is `String` for `BeanStore` and `Mug` for a mug store.