Skip Navigation
Global Nav Open Menu
Global Nav Close Menu
Apple Developer
Search Developer
Cancel
Apple Developer
Discover
Design
Develop
Distribute
Support
Account
Documentation
Open Menu
Close Menu
Swift
Swift Standard Library
Numbers and Basic Values
Numeric Protocols
⋯
Swift
Swift Standard Library
Numbers and Basic Values
Numeric Protocols
FixedWidthInteger
init(_truncatingBits:)
Language:
Swift
API Changes:
Show
Initializer
init(_truncating
Bits:)
Required.
SDK
Xcode 11.2+
Framework
Swift Standard Library
Declaration
init
(
_truncatingBits
bits
:
UInt
)