Re: How to avoid warning with objc_msgSend
Re: How to avoid warning with objc_msgSend
- Subject: Re: How to avoid warning with objc_msgSend
- From: Andrew Pinski <email@hidden>
- Date: Mon, 4 Oct 2004 20:15:28 -0400
On Oct 4, 2004, at 8:11 PM, Ryan Norton wrote:
Hi,
When I use objc_msgSend with something that doesn't exist on 10.2 but
exists on 10.3 on a 10.2 system, I get a "selector not recognized"
warning in the console every time I call it -
objc_msgSend(GetNSView(),@selector(getRectsBeingDrawn:
count:),&rects,&countRects);
Is there something better to use in this circumstance than
objc_msgSend? Is there a way to turn off this warning? Or is an
#ifdef required in this circumstance?
yes include a header which has a class which has the message
"getRectsBeingDrawn:count:", any will work, even your own class.
Thanks,
Andrew Pinski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden