Working with filters
Based on our design, we know that we are going to need to apply filters to a photo. Instead of just creating an array with filters, we are going to use a plist
to load in a set of filters that we want. You can find the FilterData.plist
file inside this chapter's asset folder. Drag and drop this file into the Model folder that is inside the Review
folder. Make sure that Copy items if needed is checked, and then hit Finish.
Let's take a look at the plist
and see what it contains:
This list only has 10 of over 170 filters and effects that you can use. If you would like to see a full list of filters, you can find the list at http://tinyurl.com/coreimage-ios ...
Get iOS 10 Programming for Beginners now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.