Publishes a custom filter that is not packaged as an image unit.
- iOS 9.0+
- macOS 10.4+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- Core Image
A string object that specifies the name of the filter you want to publish.
A constructor object that implements the
A dictionary that contains the class display name and filter categories attributes along with the appropriate value for each attributes. That is, the
kattribute and a string that specifies the display name, and the
CIAttribute Filter Display Name
kand an array that specifies the categories to which the filter belongs (such as
CIAttribute Filter Categories
CICategory Still Image
k). All other attributes for the filter should be returned by the custom
CICategory Distortion Effect
attributesmethod implement by the filter.
In most cases you don’t need to use this method because the preferred way to register a custom filter that you write is to package it as an image unit. You do not need to use this method for a filter packaged as an image unit because you register your filter using the
CIPlug protocol. (See Core Image Programming Guide for additional details.)