Swift Dictionary zawiera klucz
if let value = self.dictionary["key"] {
print(value) // prints value
}
// OR
extension Dictionary {
func contains(key: Key) -> Bool {
self[key] != nil
}
}
calderwoodra