I'm writing an NSArray
category to include the -objectAtRandom
message that returns an object from a random index (something similar to Python's choice).
Should I autorelease this object before returning it? I believe I shouldn't, but I'm not sure...