<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecTransformInstanceBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@SecTransformInstanceBlock"
  },
  "title" : "SecTransformInstanceBlock"
}
-->

# SecTransformInstanceBlock

A block that you return from a transform creation function.

```
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`](/documentation/Security/SecTransformCreateFP) that you register with the [`SecTransformRegister(_:_:_:)`](/documentation/Security/SecTransformRegister(_:_:_:)) function.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)