RLMSectionedResultsIterator

@frozen
public struct RLMSectionedResultsIterator<Key, Element> : IteratorProtocol where Key : _Persistable, Key : Hashable, Element : RealmCollectionValue

An iterator for a SectionedResults instance.

  • Advance to the next element and return it, or nil if no next element exists.

    Declaration

    Swift

    public mutating func next() -> ResultsSection<Key, Element>?