Skip navigation.
 
mlRe: controllers, delegates, retain, release ...
FROM : Jack Repenning
DATE : Sat Feb 23 03:00:16 2008

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

Related mailsAuthorDate
mlcontrollers, delegates, retain, release ... Jack Repenning Feb 22, 19:39
mlRe: controllers, delegates, retain, release ... Quincey Morris Feb 22, 21:10
mlRe: controllers, delegates, retain, release ... Nir Soffer Feb 22, 21:50
mlRe: controllers, delegates, retain, release ... Keith Duncan Feb 22, 22:13
mlRe: controllers, delegates, retain, release ... Jack Repenning Feb 22, 22:42
mlRe: controllers, delegates, retain, release ... Charles Steinman Feb 22, 23:17
mlRe: controllers, delegates, retain, release ... Adam P Jenkins Feb 23, 00:10
mlRe: controllers, delegates, retain, release ... j o a r Feb 23, 01:19
mlRe: controllers, delegates, retain, release ... Jack Repenning Feb 23, 03:00