typealias
typealias란 타입에 붙일 수 있는 별칭
associatedtype
associatedType 은 Protocol을 위한 Generic
An associated type gives a placeholder name to a type that’s used as part of the protocol.
참고자료
https://docs.swift.org/swift-book/LanguageGuide/Generics.html
'iOS 🍎 > Swift' 카테고리의 다른 글
self vs Self (0) | 2022.04.27 |
---|---|
RxSwift Operator : Map, FlatMap (0) | 2022.04.18 |
Non-Escaping Closure 와 Escaping Closure (0) | 2021.12.28 |
접근제어, Access control (0) | 2021.12.28 |
Method Dispatch (0) | 2021.12.06 |