Type Alias


A block that you return from a transform creation function.


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

Return Value

A an error object if an error occurred.


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.