Re: Categories Generating Warnings?
Re: Categories Generating Warnings?
- Subject: Re: Categories Generating Warnings?
- From: David Olbersen <email@hidden>
- Date: Fri, 11 Feb 2005 15:25:32 -0800
On Feb 11, 2005, at 3:11 PM, Sherm Pendley wrote:
On Feb 11, 2005, at 5:45 PM, David Olbersen wrote:
Now that those methods are defined (TWRobot+Drawing.h) and
implemented (TWRobot+Drawing.m) I'd like to use them in the core
class (TWRobot.m). This works, I just get a lot of compiler warnings.
All the warnings are in the form:
`TWRobot' may not respond to `<method defined in TWRobot+Drawing.h>'
cannot find method `<method defined in TWRobot+Drawing.h>'; return
type of `id' assumed
TWRobot.m needs to #import "TWRobot+Drawing.h", so that it's aware of
the methods declared there.
Thank you.
I tried #importing into TWRobot.h and got all kinds of errors.
#importing into #TWRobot.m made all the difference.
Thanks again!
--
David Olbersen
_______________________________________________
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