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

# init(frame:filter:)

Initializes a view that contains controls for the input parameters of a filter.

```
init!(frame frameRect: NSRect, filter inFilter: CIFilter!)
```

## Parameters

`frameRect`

The rectangle that defines the area of the view.

`inFilter`

A Core Image filter. The view retains the filter.

## Return Value

The  `IKFilterUIView` object initialized with controls for the input parameters of the provided filter.

---

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)