Re: valid method generates warning
Re: valid method generates warning
- Subject: Re: valid method generates warning
- From: Hamish Allan <email@hidden>
- Date: Mon, 16 Mar 2009 15:13:45 +0000
Hi Julian,
On Mon, Mar 16, 2009 at 3:02 PM, Julian Blow <email@hidden> wrote:
> The only thing that occurs to me is that the whole program
> has rather a large number of different classes that #import each other in
> complex ways. Could that be a cause?
Any time you are #importing "SomeClass.h" from a header file, stop and
think: does the compiler need any information from the header file
(e.g. because you're subclassing or implementing a protocol), or does
it just need to know about the existence of the class? If the latter,
use @class SomeClass instead. If you do this throughout your project,
you should quickly find out whether what you describe above is the
problem.
Best wishes,
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden