swift_protocol Equatable Equatable Protocol을 적용하여 Custom Type끼리의 비교가 가능하다 A type that can be compared for value equality. 값이 동일한지 비교할 수 있는 Type Swift 공식 문서에 정의되어있는 Equatable의 개념이다. Swift 기본 Type들은 대부분 Equatable을 따른다. Equatable을 따르는 Type들은 같다(==)... swiftswift_protocolswift
Equatable Equatable Protocol을 적용하여 Custom Type끼리의 비교가 가능하다 A type that can be compared for value equality. 값이 동일한지 비교할 수 있는 Type Swift 공식 문서에 정의되어있는 Equatable의 개념이다. Swift 기본 Type들은 대부분 Equatable을 따른다. Equatable을 따르는 Type들은 같다(==)... swiftswift_protocolswift