Say I have this array of predicates in the feedDays
array:
<__NSArrayM 0x7ff7f3cd1040>(
feedDay == 1,
feedDay == 2,
feedDay == 4
)
I need to AND it with this statusPredicates
array:
<__NSArrayM 0x7ff7f3cd1070>(
is_neutered == 0 AND other_status == 0,
is_neutered == 0 AND other_status == 1,
is_neutered == 0 AND other_status == 2,
is_neutered == 0 AND other_status == 3,
)
How can I combine these into one query? I assume I have to use NSCompoundPredicate but I can't figure out how to get it to AND two arrays of predicates together.