<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCPlugInViewController/init(plugIn:viewNibName:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)QCPlugInViewController(im)initWithPlugIn:viewNibName:"
  },
  "title" : "init(plugIn:viewNibName:)"
}
-->

# init(plugIn:viewNibName:)

Creates and initializes a controller for the specified `QCPlugIn` object and nib file.

```
init!(plugIn: QCPlugIn!, viewNibName name: String!)
```

## Parameters

`plugIn`

A `QCPlugIn` object that uses internal settings.

`name`

The name of the nib file that contains the view for the custom patch.

## Return Value

A `QCPlugInViewController` object.

---

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)