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

# SecTransformFindByName(_:_:)

Finds a member of a transform group by its name.

```
func SecTransformFindByName(_ transform: SecGroupTransform, _ name: CFString) -> SecTransform?
```

## Parameters

`transform`

The transform group to be searched.

`name`

The name of the transform to be found.

## Return Value

The transform group member, or `NULL` if the member was not found.

## Discussion

When a transform instance is created you give it a unique name. This name can be used to find that instance in a group. While it is possible to use the [`SecTransformSetAttribute(_:_:_:_:)`](/documentation/Security/SecTransformSetAttribute(_:_:_:_:)) function to change a transform’s name after creating it, this is not recommended because doing so causes the [`SecTransformFindByName(_:_:)`](/documentation/Security/SecTransformFindByName(_:_:)) function to misbehave.

---

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)