For example, the method:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
in UIResponder
has an NSSet* touches
as the parameter.
In the method itself, how do I determine what type of object touches
actually contain? In this case, it contains a set of UITouch
. But I knew that from reading some tutorials online.
In general, how do I know what kind of object the set contains?