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 Jeremy Mikola. All rights reserved. (Last updated: 2019-04-18) Generated by jazzy ♪♫ v0.9.4, a Realm project.