RLMIterator public struct RLMIterator<Element: RealmCollectionValue>: IteratorProtocol An iterator for a RealmCollection instance. next() Advance to the next element and return it, or nil if no next element exists. Declaration Swift public mutating func next() -> Element? Show on GitHub © 2018 Realm. All rights reserved. (Last updated: 2018-08-08) Generated by jazzy ♪♫ v0.8.3, a Realm project.