I am trying to add a NSIndexpath as parameter to a method through
No, you can not pass arguments, you can only show that this selector will take that many numbers of arguments.
If you need to do this, you can create a property and access it from the method
However you can use this selector:
[self performSelector:@selector(showDetailedImageIndex:) withObject:objectOfNSIndex];