Hi Corbin,

> I wrote that sample, and gave the WWDC talk based on it a few years ago. I
> also "own" NSTableView.
> 
> Yes, please do file a bug. The sample should set the delegate/datasource to
> nil, as it is good practice to do so, and we can update the sample.

Thanks for the clarification, it is very helpful. So the right thing to do
with delegates/datasources is to set them to nil.

What about target/action on something like a button?

Would you say that for every control in a nib, one has to set the
delegate/datasource/action to nil? While this might seem like a silly
question, most books/examples I read don't do this so I wanted to be clear
on what the right thing to do is.

Thanks again,
Abdul

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to