Yes, use NSPredicate
.
First get allKeys
from the dictionary. Then use filteredArrayUsingPredicate:
to get the list of keys you want. Then use objectsForKeys:notFoundMarker:
with your resulting array of keys to get the associated objects (the not found marker isn't an issue as we know all keys exist).