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

# Strideable Implementations

## Topics

### Instance Methods

[`func advanced(by: Int) -> Int`](/documentation/Swift/Int/advanced(by:))

Returns a value that is offset the specified distance from this value.

[`func distance(to: Int) -> Int`](/documentation/Swift/Int/distance(to:))

Returns the distance from this value to the given value, expressed as a
stride.

---

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)