Unit

public class Unit : Item

A unit, typically from International System of Units (SI).

  • A symbol, for instance to represent a Unit or Measure.

    Declaration

    Swift

    @objc
    dynamic var symbol: String?
  • The name of the item.

    Declaration

    Swift

    @objc
    dynamic var name: String?
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws