Existential type

    Existential any in Swift explained with code examples(번역)

    원문: https://www.avanderlee.com/swift/existential-any/ Existential any in Swift explained with code examples Existentials in Swift are defined using the any keyword and provide dynamic types, but also come with performance impact you should know. www.avanderlee.com Existential any를 사용하면 type 앞에 any 키워드를 붙여 existential types를 정의할 수 있다. 간단히 말해 existential는 “any type이지만 protocol ’something’을 준수한다.”를..