SectionedResultsIterator
@frozen
public struct SectionedResultsIterator<Key, Element> : IteratorProtocol where Key : _Persistable, Key : Hashable, Element : RealmCollectionValue
SectionedResults
实例的迭代器。
-
前进到下一个元素并返回,如果没有下一个元素,则返回
nil
。声明
Swift
public mutating func next() -> ResultsSection<Key, Element>?