Currently, I have an array of books that are being displayed on my view. At the top of the view, there are 3 filters available:
(All | Reading level 1 | Reading Level 2 | Reading Level 3) (All | Informational | Literature) (All | Published in 2000-2005 | Published in 2005-2010)
I am trying to figure out how to make these filters work together so that if a user selects reading level 1, Informational, and 2000-2005, they will only see books that match all three criteria.
In the context of iOS, I'm struggling to come up with a clean code logic to combine these filters for the resulting array of books.