Contents

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