swift dictionary methods code example Example: dictionary in swift var someDict = [KeyType: ValueType]()