TTUnitRatio

public final class TTUnitRatio : Dimension

A quantity describing a ratio, also commonly used for probabilities. (For example, 10%.)

  • 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 case unitRange.

    Declaration

    Swift

    override public class func baseUnit()
        -> TTUnitRatio