기어가더라도 제대로

Hashable 본문

Swift - 기초

Hashable

Damagucci-juice 2022. 3. 11. 00:36

Struct를 Hasable로 만들기

필요성

Struct를 Dictionary의 Key 값이나 Set의 요소로 추가하기 위해서 필요하다.

방법

'Swift - 기초' 카테고리의 다른 글

Notification Center 간단 사용법  (2) 2022.03.15
Delegate  (0) 2022.03.11
parameta와 argument  (0) 2021.11.10
type & instance  (0) 2021.11.07
문법적으로 느낀 점(notes필기본)  (0) 2021.11.03
Comments