DocumentIterator public class DocumentIterator : IteratorProtocol An iterator over the values in a Document. next() Returns the next value in the sequence, or nil if the iterator is exhausted. Declaration Swift public func next() -> Document.KeyValuePair? © 2019 Matt Broadstone, Kaitlin Mahar, and Patrick Freed. All rights reserved. (Last updated: 2019-06-04) Generated by jazzy ♪♫ v0.9.6, a Realm project.