An integer type that can represent only nonnegative values.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
An integer type that can represent only nonnegative values.
SDK
Framework
var magnitude: Self
The magnitude of this value.
static var max: Self
The maximum representable integer in this type.
static var min: Self
The minimum representable integer in this type.
protocol Binary Integer
An integer type with a binary representation.
protocol Fixed Width Integer
An integer type that uses a fixed size for every instance.
protocol Signed Integer
An integer type that can represent both positive and negative values.