KeyValueSequence
public struct KeyValueSequence<Key, Value> : Sequence where Key : _MapKey, Value : RealmCollectionValue
An adaptor for Map which makes it a sequence of (key: Key, value: Value)
instead of a sequence of SingleMapEntry
.
-
Declaration
Swift
public func makeIterator() -> RLMKeyValueIterator<Key, Value>