Filter persistence. These last three commits were actually intended to be only one, but since we were modifying lots of things which got a little tricky, we divided it into three commits. What we wanted to was simply persist the filter selection on CoreData. At first, we thought that the best solution was to create a new Filter entity related to our current Photo entity. Then, since we anted the user to be able to apply several filters on a single photo, we used Ling’s segmented control, because UIKit’s wouldn’t allow us to use multiple selection. Then we thought, since the filters were only going to be boolean values, to create five attributes on our Photo entity, one for each filter. Finally, we added CoreData’s undoManager, and cleaned up our code a little bit.