Type Method 型メソッド

value(for:)

Returns a value of this key’s type for a given Objective-C value.

Declaration 宣言

static func value(for object: Self.ObjectiveCValue) throws -> Self.Value

Parameters パラメータ

object

The Objective-C value to convert.

Return Value 戻り値

object, expressed as this key’s type.

See Also 参照

Converting between Swift and Objective-C Types