Type Alias

SecTransformInstanceBlock

A block that you return from a transform creation function.

Declaration

typealias SecTransformInstanceBlock = () -> Unmanaged<CFError>?

Return Value

A an error object if an error occurred.

Discussion

You return a block of this type from the custom transform creation function of type SecTransformCreateFP that you register with the SecTransformRegister(_:_:_:) function.

See Also

Custom Transforms

typealias SecTransformCreateFP

A pointer to a function that creates a new instance of a custom transform.

typealias SecTransformImplementationRef

An opaque pointer to a block that implements an instance of a transform.