What is the difference between these two NSArray methods?
indexOfObjectIdenticalTo checks for the exact same id (same address). indexOfObject checks that isEqual: returns YES.
indexOfObjectIdenticalTo
id
indexOfObject
isEqual:
YES
I'm looking for the standard idiom to iterate over an NSArray. My code needs to be suitable for OS X 10.4+.
How do I convert NSMutableArray to NSArray in objective-c?
I am wondering how to convert an NSArray [@"Apple", @"Pear ", 323, @"Orange"] to a string in Objective-C.