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