• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: valid method generates warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >valid method generates warning (From: Julian Blow <email@hidden>)

  • Prev by Date: Re: valid method generates warning
  • Next by Date: Re: function performance
  • Previous by thread: Re: valid method generates warning
  • Next by thread: Fwd: valid method generates warning
  • Index(es):
    • Date
    • Thread