Re: Weird compiler issue
Re: Weird compiler issue
- Subject: Re: Weird compiler issue
- From: Geert Clemmensen <email@hidden>
- Date: Tue, 15 Mar 2005 17:23:57 +0100
On Mar 15, 2005, at 5:17 PM, Ian was here wrote:
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?
In ClassA.m you can do #import "ClassB.h" and vice versa.
Regards,
Geert B. Clemmensen
www.frontbase.com
_______________________________________________
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