Instance Method

writeToURL:atomically:

Archives a filter generator object to a filter generator file.

Declaration

- (BOOL)writeToURL:(NSURL *)aURL atomically:(BOOL)flag;

Parameters

aURL

A location for the file generator file.

flag

Pass true to specify that Core Image should create an interim file to avoid overwriting an existing file.

Return Value

Returns true if the the object is successfully archived to the file.

Discussion

Use this method to save your filter chain to a file for later use.