Type Method 型メソッド

objectiveCValue(for:)

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

Declaration 宣言

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

Parameters パラメータ

value

The value to convert.

Return Value 戻り値

value, expressed as the Objective-C type defined by ObjectiveCValue.

See Also 参照

Converting between Swift and Objective-C Types