A numeric quantity labeled with a unit of measure, with support for unit conversion and unit-aware calculations.
- iOS 10.0+
- macOS 10.12+
- UIKit for Mac 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
- Xcode 8.0+
Measurements support a large set of operators, including
/, and a full set of comparison operators.