Re: OBJ-C question
Re: OBJ-C question
- Subject: Re: OBJ-C question
- From: Sherm Pendley <email@hidden>
- Date: Sat, 17 Apr 2004 14:16:49 -0400
On Apr 17, 2004, at 1:55 PM, Kay Roepke wrote:
This way you do not have the overhead of a method dispatch like you do
if you have a dummy method somewhere in your ancestry.
You would check for the supported methods in your setDelegate: method
and whenever you want to call the delegate methods have a check
if it's ok to send the message.
Good point. Although that would mean that you couldn't assign the
delegate object, and then add delegation methods to it later. That
would certainly be a rare situation, though - I can see why it wouldn't
be worth worrying about.
sherm--
_______________________________________________
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.