Skip navigation.
 
mlCocoa memory management question
FROM : Gregory Cooksey
DATE : Mon Dec 27 02:49:23 2004

Do classes' factory methods autorelease the objects they return,
generally?  Or am I responsible for releasing them?  Specifically,
should I retain the NSURL object returned by +NSURL URLWithString: or
does that method give me ownership?

-Greg

Related mailsAuthorDate
mlCocoa memory management question Gregory Cooksey Dec 27, 02:49
mlRe: Cocoa memory management question mmalcolm crawford Dec 27, 03:20