RLMIterator

public struct RLMIterator<Element: RealmCollectionValue>: IteratorProtocol

An iterator for a RealmCollection instance.

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

    Declaration

    Swift

    public mutating func next() -> Element?