RLMIterator

public struct RLMIterator<Element> : IteratorProtocol where Element : RealmCollectionValue

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?