As Apple suggests, we need to check the index of an NSArray before calling objectAtIndex:. To do this, we can use a category or method swizzling.
For this subscript syntax,
index = 1;
id person = pArray[index];
is there a way to implement that?
Of course, I can check index beforehand.