It really-really depends on your specific use case. Do you need the method to be fast? If you don't, then just go ahead and use an NSArray, although I'd recommend you use the modern syntax which is more succinct, consequently easier to read: - (NSArray *)returnAnArray { return @[ @42,...

It will calculate, and return, all of the values. For example def foo(x): return x+1, x+2 When I call this function >>> foo(1) (2, 3) >>> _, a = foo(1) >>> a 3 >>> _ 2 Note that _ is a perfectly valid, and usable, variable name. It is just...