<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/RunLoop/SchedulerTimeType/Stride",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So9NSRunLoopC10FoundationE17SchedulerTimeTypeV6StrideV"
  },
  "title" : "RunLoop.SchedulerTimeType.Stride"
}
-->

# RunLoop.SchedulerTimeType.Stride

The interval by which run loop times advance.

```
struct Stride
```

## Topics

### Creating Scheduler Time Strides

[`init(TimeInterval)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/init(_:))

Creates a run loop scheduler time interval from the given time interval.

[`init?<T>(exactly: T)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/init(exactly:))

Creates a run loop scheduler time interval from a binary integer type.

[`init(floatLiteral: TimeInterval)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/init(floatLiteral:))

Creates a run loop scheduler time interval from a floating-point seconds value.

[`init(integerLiteral: TimeInterval)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/init(integerLiteral:))

Creates a run loop scheduler time interval from an integer seconds value.

### Converting to Seconds

[`static func microseconds(Int) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/microseconds(_:))

Converts the specified number of microseconds into an instance of this scheduler time type.

[`static func milliseconds(Int) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/milliseconds(_:))

Converts the specified number of milliseconds into an instance of this scheduler time type.

[`static func nanoseconds(Int) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/nanoseconds(_:))

Converts the specified number of nanoseconds into an instance of this scheduler time type.

[`static func seconds(Double) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/seconds(_:)-4kk8j)

Converts the specified number of seconds, as a floating-point value, into an instance of this scheduler time type.

[`static func seconds(Int) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/seconds(_:)-48wwk)

Converts the specified number of seconds into an instance of this scheduler time type.

### Expressing Numeric Types

### Inspecting Stride Properties

[`var magnitude: TimeInterval`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/magnitude)

The value of this time interval in seconds.

[`var timeInterval: TimeInterval`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/timeInterval)

The value of this time interval in seconds.

### Operators

[`static func * (RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/*(_:_:))

Returns the result of multiplying the values of the two arguments.

[`static func *= (inout RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/*=(_:_:))

Multiplies the values of the two arguments, and assigns the result to the first argument.

[`static func + (RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/+(_:_:))

Returns the result of adding the values of the two arguments.

[`static func += (inout RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/+=(_:_:))

Adds the values of the two arguments, and assigns the result to the first argument.

[`static func - (RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeType.Stride`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/-(_:_:))

Returns the result of subtracting the second stride from the first.

[`static func -= (inout RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride)`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/-=(_:_:))

Subtracts the second stride from the first and assigns the result to the first.

[`static func < (RunLoop.SchedulerTimeType.Stride, RunLoop.SchedulerTimeType.Stride) -> Bool`](/documentation/Foundation/RunLoop/SchedulerTimeType/Stride/_(_:_:))

Returns a Boolean value indicating whether the first stride is less than the second.

## Relationships

### Conforms To

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`ExpressibleByIntegerLiteral`](/documentation/Swift/ExpressibleByIntegerLiteral)

[`ExpressibleByFloatLiteral`](/documentation/Swift/ExpressibleByFloatLiteral)

[`Numeric`](/documentation/Swift/Numeric)

[`Encodable`](/documentation/Swift/Encodable)

[`SchedulerTimeIntervalConvertible`](/documentation/Combine/SchedulerTimeIntervalConvertible)

[`AdditiveArithmetic`](/documentation/Swift/AdditiveArithmetic)

[`Equatable`](/documentation/Swift/Equatable)

[`Comparable`](/documentation/Swift/Comparable)

[`SignedNumeric`](/documentation/Swift/SignedNumeric)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)