---
title: "CFBundleGetPlugIn(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlegetplugin(_:)"
---

# CFBundleGetPlugIn(_:)

Returns a bundle’s plug-in.

## Declaration

```swift
func CFBundleGetPlugIn(_ bundle: CFBundle!) -> CFPlugIn!
```

## Parameters

- `bundle`: The bundle to examine.

## Return Value

Return Value The plug-in for bundle. Ownership follows the The Get Rule.

## See Also

### Managing Executable Code

- [CFBundleGetDataPointerForName(_:_:)](corefoundation/cfbundlegetdatapointerforname(_:_:).md)
- [CFBundleGetDataPointersForNames(_:_:_:)](corefoundation/cfbundlegetdatapointersfornames(_:_:_:).md)
- [CFBundleGetFunctionPointerForName(_:_:)](corefoundation/cfbundlegetfunctionpointerforname(_:_:).md)
- [CFBundleGetFunctionPointersForNames(_:_:_:)](corefoundation/cfbundlegetfunctionpointersfornames(_:_:_:).md)
