An integer type that can represent both positive and negative values.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
protocol SignedInteger
An integer type that can represent both positive and negative values.
SDK
Framework
protocol SignedInteger
static var max: Self
The maximum representable integer in this type.
static var min: Self
The minimum representable integer in this type.
protocol BinaryInteger
An integer type with a binary representation.
protocol FixedWidthInteger
An integer type that uses a fixed size for every instance.
protocol UnsignedInteger
An integer type that can represent only nonnegative values.