<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIPlugIn",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIPlugIn"
  },
  "title" : "CIPlugIn"
}
-->

# CIPlugIn

The mechanism for loading image units in macOS.

```
class CIPlugIn
```

## Overview

An image unit is an image processing bundle that contains one or more Core Image filters. Th`e.plugin` extension indicates one or more filters packaged as an image unit.

> Note:
> Starting in macOS 10.15, loading executable CIFilter plugins is deprecated.

## Topics

### Loading Plug-ins

[`+  loadNonExecutablePlugIns`](/documentation/CoreImage/CIPlugIn/loadNonExecutablePlugIns())

Scans directories for plugins.

[`+  loadNonExecutablePlugIn:`](/documentation/CoreImage/CIPlugIn/loadNonExecutablePlugIn(_:))

Loads a non-executable plug-in specified by its URL.

### Deprecated

[`+  loadAllPlugIns`](/documentation/CoreImage/CIPlugIn/loadAllPlugIns())

Scans directories for files that have the `.plugin` extension and then loads the image units.

[`+  loadPlugIn:allowExecutableCode:`](/documentation/CoreImage/CIPlugIn/load(_:allowExecutableCode:))

Loads filters from an image unit that have the appropriate executable status.

[`+  loadPlugIn:allowNonExecutable:`](/documentation/CoreImage/CIPlugIn/loadPlugIn:allowNonExecutable:)

Loads filters from an image unit that have the appropriate executable status.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)