SectionIterator

@frozen
public struct SectionIterator<Element> : IteratorProtocol where Element : RealmCollectionValue

An iterator for a Section instance.

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

    Declaration

    Swift

    public mutating func next() -> Element?