<!--
{
  "availability" : [
    "macOS: 10.7.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecTransformCreateGroupTransform()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecTransformCreateGroupTransform"
  },
  "title" : "SecTransformCreateGroupTransform()"
}
-->

# SecTransformCreateGroupTransform()

Creates an object that acts as a container for a set of connected transforms.

```
func SecTransformCreateGroupTransform() -> SecGroupTransform
```

## Return Value

A transform group object.

## Discussion

A [`SecGroupTransform`](/documentation/Security/SecGroupTransform) is a container for all of the transforms that are in a directed graph. You can use this container as you would a single transform with the [`SecTransformExecute(_:_:)`](/documentation/Security/SecTransformExecute(_:_:)), [`SecTransformExecuteAsync(_:_:_:)`](/documentation/Security/SecTransformExecuteAsync(_:_:_:)) and [`SecTransformCopyExternalRepresentation(_:)`](/documentation/Security/SecTransformCopyExternalRepresentation(_:)) functions.On the other hand, unlike a stand alone transform, you can’t use a transform group with the [`SecTransformConnectTransforms(_:_:_:_:_:_:)`](/documentation/Security/SecTransformConnectTransforms(_:_:_:_:_:_:)), [`SecTransformSetAttribute(_:_:_:_:)`](/documentation/Security/SecTransformSetAttribute(_:_:_:_:)) or [`SecTransformGetAttribute(_:_:)`](/documentation/Security/SecTransformGetAttribute(_:_:)) functions. Attempting to do so produces undefined behavior.

---

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)