• 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: Effective Cocoa (was Category or Protocol? (objc newbie))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Effective Cocoa (was Category or Protocol? (objc newbie))


  • Subject: Re: Effective Cocoa (was Category or Protocol? (objc newbie))
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 19 Apr 2005 23:44:14 +0200

Rick,

On 19.4.2005, at 22:21, Rick Kitts wrote:

... For example, does one retain a delegate?

No, one does not.

If not, why not?

Basically since it is the convention :)

The convention is is for in a vast majority of scenarios the delegate happens to be the controller, which retains the other objects -- including those who use it as their delegate. Therefore, retaining a delegate would very very often mean a retain loop.

And so forth.

Well, guess I should write that book after all :)) --- Ondra Čada OCSoftware: email@hidden http://www.ocs.cz private email@hidden http://www.ocs.cz/oc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Category or Protocol? (objc newbie) (From: Rick Kitts <email@hidden>)
 >Re: Category or Protocol? (objc newbie) (From: Andrew White <email@hidden>)
 >Re: Category or Protocol? (objc newbie) (From: Rick Kitts <email@hidden>)
 >Effective Cocoa (was Category or Protocol? (objc newbie)) (From: Keith Alperin <email@hidden>)
 >Re: Effective Cocoa (was Category or Protocol? (objc newbie)) (From: Rick Kitts <email@hidden>)

  • Prev by Date: ABPeoplePickerView: setting focus on the search field
  • Next by Date: Re: Category or Protocol? (objc newbie)
  • Previous by thread: Re: Effective Cocoa (was Category or Protocol? (objc newbie))
  • Next by thread: Re: Effective Cocoa (was Category or Protocol? (objc newbie))
  • Index(es):
    • Date
    • Thread