YRTCanonicalUnit

class YRTCanonicalUnit : NSObject

Represents a unit with the value and measurement separated.

Summary

Class methods

 init(unit: String, value: Double)

Properties

var unit: String { get }
The unit of measurement

var value: Double { get }
The numerical value

Class methods

init(unit:value:)

 init(unit: String, value: Double)


Properties

unit

var unit: String { get }

The unit of measurement.


value

var value: Double { get }

The numerical value.


Предыдущая
Следующая