Type Alias

SecTransformAttributeActionBlock

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

Declaration

typealias SecTransformAttributeActionBlock = (SecTransformAttribute, CFTypeRef) -> Unmanaged<CFTypeRef>?

Parameters

attribute

The attribute whose default is being overridden or NULL if this is a generic notification override

value

Proposed new value for the attribute.

Return Value

The new value of the attribute if successful or a CFError object on failure. If a transform needs to have a CFError as the value of an attribute, then place the object in a container, such as a CFArray or CFDictionary object.

See Also

Actions

typealias SecTransformActionBlock

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

typealias SecTransformDataBlock

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

Actions

Use actions to trigger particular behaviors.