A unit of measure for power.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
Declaration
@interface NSUnitPower : NSDimension
Overview
You typically use instances of NSUnit
to represent specific quantities of power using the NSMeasurement
class.
Power
Power is the amount of energy used over time. The SI unit for power is the watt (W), which is derived as one joule per second (1W = 1J / 1s).
The NSUnit
class defines its base unit as watts
, and provides the following units, which are initialized using NSUnit
converters with the specified coefficients:
Name | Method | Symbol | Coefficient |
---|---|---|---|
Terawatts | TW |
| |
Gigawatts | GW |
| |
Megawatts | MW |
| |
Kilowatts | kW |
| |
Watts | W |
| |
Milliwatts | mW |
| |
Microwatts | µW |
| |
Nanowatts | nW |
| |
Picowatts | pW |
| |
Femtowatts | fW |
| |
Horsepower | hp |
|