---
title: loadAllPlugIns()
framework: Core Image
role: symbol
role_heading: Type Method
platforms: [macOS 10.4+]
path: coreimage/ciplugin/loadallplugins()
---

# loadAllPlugIns()

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

## Declaration

```swift
class func loadAllPlugIns()
```

## Discussion

Discussion This method scans the following directories: /Library/Graphics/Image Units ~/Library/Graphics/Image Units Call this method once. If you call this method more than once, Core Image loads newly added image units, but image units (and the filters they contain) that are already loaded are not removed.

## See Also

### Related Documentation

- [Image Unit Tutorial](apple-archive/documentation/GraphicsImaging/Conceptual/ImageUnitTutorial/Introduction.md)
- [Core Image Programming Guide](apple-archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro.md)

### Deprecated

- [load(_:allowExecutableCode:)](coreimage/ciplugin/load(_:allowexecutablecode:).md)
