🅿️IteratorProtocol
Swift in Depth ⟩ Ch 9: Iterators, sequences, and collections
public protocol IteratorProtocol {
associatedtype Element
mutating func next() -> Element?
}
Last updated
Was this helpful?
Swift in Depth ⟩ Ch 9: Iterators, sequences, and collections
public protocol IteratorProtocol {
associatedtype Element
mutating func next() -> Element?
}
Last updated
Was this helpful?