Re: Question about respondsToSelector
Re: Question about respondsToSelector
- Subject: Re: Question about respondsToSelector
- From: j o a r <email@hidden>
- Date: Mon, 18 Aug 2008 13:31:02 -0700
On Aug 18, 2008, at 11:17 AM, Carmen Cerino Jr. wrote:
Does the id type have enough information for the respondsToSelector
method to work. I have a class with an ivar of type id, and when I
invoke the respondsToSelector method it fails when it should
succeed. I am assuming it should work fine, because if I skip
checking with the respondsToSelector method and just make the call,
it executes the method. Can someone please tell me what I am doing
wrong?
Perhaps you've misspelled the name of the selector - just like you've
done above with "respondsToSelector:" (note the trailing ":").
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden