Re: controllers, delegates, retain, release ...
Re: controllers, delegates, retain, release ...
- Subject: Re: controllers, delegates, retain, release ...
- From: Jack Repenning <email@hidden>
- Date: Fri, 22 Feb 2008 18:00:16 -0800
Interesting discussion, thanks. Not surprising, I suppose, if there's
some split on a "matter of taste" like whether it's legitimate to have
an object manage its own lifecycle ([self autorelease]). FWIW, I
chose Quincey's solution, [[alloc]init]autorelease] in Controller, and
[[super init]retain] plus [self autorelease] in UI. This keeps the
number of lines you have to scan to verify retain/release balance to a
minimum, anyway.
GC compatibility can wait until I have more time to think about the
new GC. Since I'm still supporting Panther clients, this may be a
long time....
-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden