• 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
Weird compiler issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird compiler issue


  • Subject: Weird compiler issue
  • From: Ian was here <email@hidden>
  • Date: Tue, 15 Mar 2005 08:17:23 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

I have many classes in my application. Some classes
need to cross reference each other. For example: Class
A needs to #import "ClassB.h" and Class B needs to
#import "ClassA.h". This obviously creates a compiler
error.

Therefor, I changed it like this:

Class A: #import "ClassB.h"
Class B: @class ClassA

Class B methods used by Class A are OK, but Class A
methods used by Class B give a warning stating that
"Class A may not repond to method X".


Does anyone know how to resolve this issue?

Thanks.




__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
 _______________________________________________
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

  • Follow-Ups:
    • Re: Weird compiler issue
      • From: j o a r <email@hidden>
    • Re: Weird compiler issue
      • From: Geert Clemmensen <email@hidden>
  • Prev by Date: Re: Blurring, phycedelic NSTableViews.
  • Next by Date: Re: Blurring, phycedelic NSTableViews.
  • Previous by thread: Weird debugger error
  • Next by thread: Re: Weird compiler issue
  • Index(es):
    • Date
    • Thread