Re: ObjC error messages
Re: ObjC error messages
- Subject: Re: ObjC error messages
- From: Sherm Pendley <email@hidden>
- Date: Mon, 18 Feb 2002 06:48:27 -0500
On Monday, February 18, 2002, at 04:04 AM, Malte Tancred wrote:
My 'problem' was that I was writing the class sending the message in
the first place.
Then why not check the validity of the message to be sent by first
calling respondsToSelector: on the target? If you only send valid
messages, it won't matter how invalid messages are handled.
Just a thought...
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.