---
title: "init(frame:filter:)"
framework: quartz
role: symbol
role_heading: Initializer
path: "quartz/ikfilteruiview/init(frame:filter:)"
---

# init(frame:filter:)

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

## Declaration

```swift
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

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

## See Also

### Creating and Initializing a Filter UI View

- [view(withFrame:filter:)](quartz/ikfilteruiview/view(withframe:filter:).md)
