I\'d like to return a Cartesian coordinate (x, y), as two ints. The only way I see is to create a class and return an instance of it.
int
How to return two value
I recommend you to return an NSDictionary, inside Dictionary you can store and send any object type and any number of variables.
-(NSDictionary*)calculateWith:(id)arg { NSDictionary *urDictionary =@{@"key1":value1,@"Key2":value2,.....}; return urDictionary; }