Instance Method

initWithSymbol:converter:

Initializes a dimensional unit with the specified symbol and unit converter.

Declaration

- (instancetype)initWithSymbol:(NSString *)symbol converter:(NSUnitConverter *)converter;

Parameters

symbol

The symbol used to represent the unit.

converter

The unit converter used to represent the unit in terms of the dimension’s base unit.

Return Value

A new dimensional unit with the specified symbol and unit converter.

Discussion

This is the designated initializer.