Skip navigation.
 
mlRe: Effective Cocoa (was Category or Protocol? (objc newbie))
FROM : Ondra Cada
DATE : Tue Apr 19 23:44:14 2005

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_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc

Related mailsAuthorDate
mlCategory or Protocol? (objc newbie) Rick Kitts Apr 19, 04:36
mlRe: Category or Protocol? (objc newbie) Andrew White Apr 19, 06:28
mlRe: Category or Protocol? (objc newbie) Nathan Day Apr 19, 06:31
mlRe: Category or Protocol? (objc newbie) Rick Kitts Apr 19, 17:33
mlRe: Category or Protocol? (objc newbie) Ondra Cada Apr 19, 18:52
mlRe: Category or Protocol? (objc newbie) Rick Kitts Apr 19, 21:40
mlRe: Category or Protocol? (objc newbie) Ondra Cada Apr 19, 21:56
mlRe: Category or Protocol? (objc newbie) Charilaos Skiadas Apr 19, 22:04
mlRe: Category or Protocol? (objc newbie) John Brownlow Apr 19, 22:11
mlEffective Cocoa (was Category or Protocol? (objc newbie)) Keith Alperin Apr 19, 22:13
mlRe: Effective Cocoa (was Category or Protocol? (objc newbie)) Rick Kitts Apr 19, 22:21
mlRe: Effective Cocoa (was Category or Protocol? (objc newbie)) Shawn Erickson Apr 19, 22:21
mlRe: Effective Cocoa (was Category or Protocol? (objc newbie)) Finlay Dobbie Apr 19, 22:54
mlRe: Effective Cocoa (was Category or Protocol? (objc newbie)) Ondra Cada Apr 19, 23:44
mlRe: Category or Protocol? (objc newbie) Ondra Cada Apr 19, 23:47