Function

SecTransformSetTransformAction(_:_:_:)

Changes the way that a transform deals with transform lifecycle behaviors.

Declaration

func SecTransformSetTransformAction(_ ref: SecTransformImplementationRef, _ action: CFString, _ newAction: @escaping SecTransformActionBlock) -> CFError?

Parameters

ref

A custom transform.

action
newAction

A SecTransformActionBlock block that implements the behavior.

Return Value

An error on failure, or nil on success.

See Also

Actions

typealias SecTransformActionBlock

A block that overrides the default behavior of a custom transform.

typealias SecTransformAttributeActionBlock

A block used to override the default attribute handling for when an attribute is set.

typealias SecTransformDataBlock

A block used to override the default data handling for a transform.

Actions

Use actions to trigger particular behaviors.