Aha. Just want I wanted to know. You're right, I should have tried it first :)

Thanks,

Mike


On Feb 21, 2008, at 8:06 AM, Hamish Allan wrote:

On Thu, Feb 21, 2008 at 3:57 PM, Mike R. Manzano <[EMAIL PROTECTED]> wrote:

I know about the pattern to shut the compiler up: create a category on
NSObject with the method defined, but if I were to do that, wouldn't
respondsToSelector: always return YES for that method, defeating the
point of calling respondsToSelector: in the first place?

You could always try it out and see ;)

The category interface will shut the compiler up; you don't need to
provide its implementation.

Hamish

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to