Contents

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