Quote:
Originally Posted by smasher
Yes. Unless the method has init or a copy in the name, assume it returns an autoreleased objects, or maybe a singleton or shared instance. Either way, if you did not init/copy/retain then you should not release.
|
'new' in the name indicates a non-autoreleased return object, too.