Dictionary

선언

  • Dictionary<Key, Value>
  • [key type: value type]
let someDictionary: [String: Int] = ["Alex": 31, "Paul": 39]
let someDictionary: Dictionary<String, Int> = ["Alex": 31, "Paul": 39]

results matching ""

    No results matching ""