<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFPlugInRegisterFactoryFunctionByName(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFPlugInRegisterFactoryFunctionByName"
  },
  "title" : "CFPlugInRegisterFactoryFunctionByName(_:_:_:)"
}
-->

# CFPlugInRegisterFactoryFunctionByName(_:_:_:)

Registers a factory function with a `CFPlugIn` object using the function’s name instead of its UUID.

```
func CFPlugInRegisterFactoryFunctionByName(_ factoryUUID: CFUUID!, _ plugIn: CFPlugIn!, _ functionName: CFString!) -> Bool
```

## Parameters

`factoryUUID`

The `CFUUID` object representing the factory function to register.

`plugIn`

The plug-in containing `functionName`.

`functionName`

The name of the factory function to register.

## Return Value

`true` if the factory function was successfully registered, otherwise `false`.

## Discussion

This function is used by a plug-in or host when performing dynamic registration.

---

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)