opaque type
Swift Opaque Types(번역)
원문: Some keyword in Swift: Opaque types explained with code examples Some keyword in Swift: Opaque types explained with code examples The some keyword in Swift allows you to define opaque parameter and return types. Expose only minimum APIs without losing performance. www.avanderlee.com Opaque Type Concrete Type을 정의하지 않고 예상되는 반환 타입을 설명할 수 있다. 이 같은 것은 SwiftUI body에 사용되는 것을 볼 수 있다. var body: some ..