Hi Kiel, On Thu, Feb 5, 2009 at 4:10 PM, Kiel Gillard <kiel.gill...@gmail.com> wrote:
> However, doing this will yield a memory leak: > self.name = [[NSString alloc] init]; > > ...because the property definition tells the compiler the methods it > synthesizes should retain the value. You're right that it will leak in that case but you've given the wrong reason as to why. Memory management rules are covered by Apple's documentation. Regards, Chris _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com