No overview available.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.2+
Framework
- Foundation
No overview available.
SDKs
Framework
init<T>(T)
Creates a new instance from the given integer.
init?<T>(exactly: T)
Creates a new instance from the given integer, if it can be represented exactly.
init<Other>(clamping: Other)
Creates a new instance with the representable value that’s closest to the given integer.
init<T>(truncating If Needed: T)
Creates a new instance from the bit pattern of the given instance by truncating or sign-extending if needed to fit this type.
init(bit Pattern: UInt)
Creates a new instance with the same memory representation as the given value.