Delegate: to retain or not?
Delegate: to retain or not?
- Subject: Delegate: to retain or not?
- From: petite_abeille <email@hidden>
- Date: Mon, 15 Jul 2002 15:51:28 +0200
Hello,
A awful doubt crossed my tired mind: should I retain my delegates or not?
If I do, am I not creating "a clear and present danger" of retain cycles?
If I don't, should I use something along the line of [NSValue
valueWithNonretainedObject]? Or simply assign the delegate to my ivar?
Can I use NSIsFreedObject to check if the object is still around?
Am I hopelessly confused?!?
Thanks for any insights.
PA.
_______________________________________________
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.