Hi folks, I'm trying to figure out a clear guideline on how to handle weak references. Let's consider the following scenarios:
1- Say I have a button, and set its action/target (via a nib file) to call method on the controller. In the controller dealloc method, should the controller set the action/target of the button to nill? 2- Say I have a table view, and set its datasource/delegate (via a nib file) to the controller. In the controller dealloc method, should the controller set the datasource/delegate of the tableview to nill? What I'm interested in is what is the right thing to do here. That is, is the lack of explicit setting to nil of action/datasource/delegate to nill a bug? Thanks, Abdul _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com