Instance Method

setName:

A name associated with a filter.

Declaration

iOS, macOS, UIKit for Mac, tvOS
- (NSString *)name;
iOS, macOS, UIKit for Mac, tvOS
@property(nonatomic, copy) NSString *name;
iOS, macOS, UIKit for Mac, tvOS
- (void)setName:(NSString *)aString;

Discussion

You use a filter’s name to construct key paths to its attributes when the filter is attached to a Core Animation layer. For example, if a CALayer object has an attached CIFilter instance whose name is myExposureFilter, you can refer to attributes of the filter using a key path such as filters.myExposureFilter.inputEV. Layer animations may also access filter attributes via these key paths.

Core Animation can animate this property on a layer.

The default value for this property is nil.

See Also

Getting Filter Parameters and Attributes

enabled

A Boolean value that determines whether the filter is enabled. Animatable.

attributes

A dictionary of key-value pairs that describe the filter.

inputKeys

The names of all input parameters to the filter.

outputKeys

The names of all output parameters from the filter.

outputImage

Returns a CIImage object that encapsulates the operations configured in the filter.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software