• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: controllers, delegates, retain, release ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >controllers, delegates, retain, release ... (From: Jack Repenning <email@hidden>)
 >Re: controllers, delegates, retain, release ... (From: Quincey Morris <email@hidden>)
 >Re: controllers, delegates, retain, release ... (From: Keith Duncan <email@hidden>)

  • Prev by Date: NSOutlineView autosaving of expanded/collapsed state
  • Next by Date: Re: controllers, delegates, retain, release ...
  • Previous by thread: Re: controllers, delegates, retain, release ...
  • Next by thread: Re: controllers, delegates, retain, release ...
  • Index(es):
    • Date
    • Thread