One Logo Pool Ball
Foundation · IOS API REFERENCE

UnitSpeed

class · iOS 10.0+ · SDK 27.1

class UnitSpeed

Members (5)

get · iOS 10.0+

kilometersPerHour

TypeScript
static get kilometersPerHour(): UnitSpeed
Swift declaration
@NSCopying class var kilometersPerHour: UnitSpeed { get }
get · iOS 10.0+

knots

TypeScript
static get knots(): UnitSpeed
Swift declaration
@NSCopying class var knots: UnitSpeed { get }
get · iOS 10.0+

metersPerSecond

TypeScript
static get metersPerSecond(): UnitSpeed
Swift declaration
@NSCopying class var metersPerSecond: UnitSpeed { get }
get · iOS 10.0+

milesPerHour

TypeScript
static get milesPerHour(): UnitSpeed
Swift declaration
@NSCopying class var milesPerHour: UnitSpeed { get }
init · iOS 16.0+

init

TypeScript
static init(forLocale: Locale, usage?: MeasurementFormatUnitUsage<UnitSpeed>): UnitSpeed
Swift declaration
convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitSpeed> = .general)

Creates a `UnitSpeed` which the specified `locale` prefers for the specific `usage`.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UnitSpeed.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Foundation types →