Re:Objective-C Memory Management For Lazy People
by jckarter on Thursday December 09, 2010 @05:16AM
(#1986869)
"copy"ing an immutable string just retains it, so there's little benefit to using a retain property for NSString properties, or for properties of the other NSMutableCopying type families. As a best practice you should always use copy properties for them.
[ Parent
| on HN ]
There are no comments on this comment yet.