• 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: Delegate: to retain or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delegate: to retain or not?


  • Subject: Re: Delegate: to retain or not?
  • From: Richard Wolf <email@hidden>
  • Date: Mon, 15 Jul 2002 15:26:16 -0500

Nope. The convention is not to retain them, on the presumption that the
delegate is generally a controller.

Fair enough. Is this "convention" documented anywhere?

It was, once, in the NeXT docs, ages ago, when I've learnt OpenStep.
Frankly I haven't checked whether the text survived the NeXT->Apple
transition or not.

This very issue (the issue of whether a delegate should be retained) was brought up by Ali Ozer in his talk on Cocoa API techniques at this year's WWDC. If you can view ADC TV, you can see the talk -- it's one of those that's available for streaming. It's a very good talk ... I've watched it something like six of seven times already -- it always makes me hungry afterword (lots of comparisons between restaurants, waiters, lobsters and Cocoa objects).

But whether it's officially documented ... that, I don't know. Sure makes me glad I saw the talk though ... maybe there was other stuff in it I picked up there that isn't available elsewhere. :-) :-)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Delegate: to retain or not?
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: XML for object archiving
  • Next by Date: Cocoa & Lex
  • Previous by thread: Re: Delegate: to retain or not?
  • Next by thread: Re: Delegate: to retain or not?
  • Index(es):
    • Date
    • Thread