---
title: "registerClass(_:)"
framework: quartz
role: symbol
role_heading: Type Method
path: "quartz/qcplugin/registerclass(_:)"
---

# registerClass(_:)

Registers a QCPlugIn subclass.

## Declaration

```swift
class func registerClass(_ aClass: AnyClass!)
```

## Parameters

- `aClass`: The QCPlugIn subclass.

## Discussion

Discussion You call this method only if the code for your custom patch is mixed with your application code, and you plan only to use the custom patch from within  your application.

## See Also

### Loading Bundle and Custom Patches Manually

- [load(atPath:)](quartz/qcplugin/load(atpath:).md)
