<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxCustomParameterViewHost_v2",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxCustomParameterViewHost_v2"
  },
  "title" : "FxCustomParameterViewHost_v2"
}
-->

# FxCustomParameterViewHost_v2

Defines the methods a plug-in needs to implement to associate a custom NSView with one of its parameters.

```
protocol FxCustomParameterViewHost_v2
```

## Overview

An FxPlug that wants to present custom UI for one or more of its parameters must conform to the FxCustomParmeterViewHost protocol. This protocol allows the plug-in to provide a subclass of NSView. It is up to the plug-in to handle NSEvents in its custom view(s). When an event in a custom view necessitates a change to the value of the associated parameter, the plug-in then uses methods in the host API FxCustomParameterActionAPI to tell the host application to change the parameter value.

## Topics

### Instance Methods

[`func createView(forParameterID: UInt32) -> NSView!`](/documentation/professional_video_applications/FxCustomParameterViewHost_v2/createView(forParameterID:))

Provides an NSView to be associated with the given parameter.



---

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)