<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Span/BorrowingIterator/BorrowingIteratorProtocol-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "BorrowingIteratorProtocol Implementations"
}
-->

# BorrowingIteratorProtocol Implementations

## Topics

### Instance Methods

[`func nextSpan() throws(Self.Failure) -> Span<Self.Element>`](/documentation/Swift/Span/BorrowingIterator/nextSpan())

Returns a span over the next group of elements that are ready to by visited,
up to the specifed maximum.

[`func skip(by: Int) throws(Self.Failure) -> Int`](/documentation/Swift/Span/BorrowingIterator/skip(by:)-7429v)

Advances the position of this iterator by the specified offset, or until
the end of the underlying type’s elements.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)