Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Sources/SCFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

/**
Write this filter to a specific file.
This filter can then be restored from this file using [SCFilter filterWithContentsOfUrl:].
This filter can then be restored from this file using [SCFilter filterWithContentsOfURL:].
*/
- (void)writeToFile:(NSURL *__nonnull)fileUrl error:(NSError *__nullable*__nullable)error;

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ if (error == nil) {
}

// Restoring the filter group
SCFilter *restoredFilter = [SCFilter filterWithContentsOfUrl:[NSURL fileUrlWithPath:@"some-url.cisf"]];
SCFilter *restoredFilter = [SCFilter filterWithContentsOfURL:[NSURL fileUrlWithPath:@"some-url.cisf"]];

// Processing a UIImage through the filter
UIImage *myImage = ... // Some image
Expand Down