objective c - Applying the same test to all members of a collection -


in test have nsarray several objects. must pass same test.

is there better or more elegant way express doing for-in , applying same macro each element?

that's judgement call, consider -indexesofobjectswithoptions:passingtest: , maybe -enumerateobjectsusingblock: alternatives.


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -