RLMIterator
public struct RLMIterator<Element: RealmCollectionValue>: IteratorProtocol
An iterator for a RealmCollection
instance.
-
Declaration
Swift
public struct RLMIterator<Element: RealmCollectionValue>: IteratorProtocol
-
Advance to the next element and return it, or
nil
if no next element exists.Declaration
Swift
public mutating func next() -> Element?