[swift] struct vs class

struct vs class

구조체는 언제 사용하나?

Value vs Reference

Data types in Swift

public struct Int

public struct Double

public struct String

public struct Dictionary<Key : Hashable, Value>

public struct Array<Element>

public struct Set<Element : Hashable> 

// => 데이터 타입들이 모두 struct 로 이루어져있다!

Swift Loves Struct