Class

NSUnitFrequency

A unit of measure for frequency.

Declaration

@interface NSUnitFrequency : NSDimension

Overview

You typically use instances of NSUnitFrequency to represent specific quantities of frequency using the NSMeasurement class.

Frequency

Frequency is a quantity of occurrences for a repeating event over time. The SI unit for frequency is the hertz (Hz), which is a derived as one occurrence per second (1Hz = 1 / 1s).

The NSUnitFrequency class defines its base unit as hertz, and provides the following units, which are initialized using NSUnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Coefficient

Terahertz

terahertz

THz

1e12

Gigahertz

gigahertz

GHz

1e9

Megahertz

megahertz

MHz

1000000.0

Kilohertz

kilohertz

kHz

1000.0

Hertz

hertz

Hz

1

Millihertz

millihertz

mHz

0.001

Microhertz

microhertz

µHz

0.000001

Nanohertz

nanohertz

nHz

1e-9

Topics

Accessing the Base Unit

+ baseUnit

Returns the base unit of frequency. Equal to hertz.

Accessing Predefined Units

terahertz

Returns the terahertz unit of frequency.

gigahertz

Returns the gigahertz unit of frequency.

megahertz

Returns the megahertz unit of frequency.

kilohertz

Returns the kilohertz unit of frequency.

hertz

Returns the hertz unit of frequency.

millihertz

Returns the millihertz unit of frequency.

microhertz

Returns the microhertz unit of frequency.

nanohertz

Returns the nanohertz unit of frequency.

Type Properties

Relationships

Inherits From

Conforms To

See Also

Time and Motion

NSUnitAcceleration

A unit of measure for acceleration.

NSUnitDuration

A unit of measure for duration of time.

NSUnitSpeed

A unit of measure for speed.