Monday, 26 August 2013

Search specific string from a NSArray objective C


BOOL string = [yourArray containsObject: @"find string"];            //for specific string


NSUInteger forIndex = [yourArray indexOfObject: @"find string"]; //for index of object