TTUnitRatio
public final class TTUnitRatio : Dimension
A quantity describing a ratio, also commonly used for probabilities. (For example, 10%.)
Important
This is a Public Preview API. It may be changed or removed at any time.-
Unit of measurement for
unitRange
.Declaration
Swift
public static let unitRange: TTUnitRatio
-
Unit of measurement for
percent
.Declaration
Swift
public static let percent: TTUnitRatio
-
Overrides the
Dimension
base unit with a different base unit, in this caseunitRange
.Declaration
Swift
override public class func baseUnit() -> TTUnitRatio