pinkstone.co.uk
How to test if an NSArray or NSSet contains an object
There’s a handy method in the NSArray class that lets us check if an array contains a particular object or not. The containsObject method returns a BOOL for us to evaluate. Consider this: [cr…