---
title: "view(withFrame:filter:)"
framework: quartz
role: symbol
role_heading: Type Method
path: "quartz/ikfilteruiview/view(withframe:filter:)"
---

# view(withFrame:filter:)

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

## Declaration

```swift
class func view(withFrame frameRect: NSRect, filter inFilter: CIFilter!) -> Any!
```

## 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 An IKFilterUIView object that contains controls for the input parameters of the provided filter.

## See Also

### Creating and Initializing a Filter UI View

- [init(frame:filter:)](quartz/ikfilteruiview/init(frame:filter:).md)
