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 © 2017 Realm. All rights reserved. (Last updated: 2017-11-08) Generated by jazzy ♪♫ v0.8.3, a Realm project.