Skip navigation.
 
mlRe: import
FROM : Daniel Child
DATE : Thu Jan 24 04:06:38 2008

Thanks! That did the trick.

On Jan 23, 2008, at 9:04 PM, Nick Zitzmann wrote:

>
> On Jan 23, 2008, at 5:56 PM, Daniel Child wrote:
>

>> Any clues on where to look?

>
>
> #import guards against including the same file twice, but it 
> doesn't guard against circular includes, which is what is happening 
> in this case.
>

>> #import "CentralController.h" // ERROR WHEN ADDING THIS

>
> If your ControllerA.h file is making a reference to a class that is 
> defined in CentralController.h, then instead of importing the 
> header, you need to add an @class prototype for the class to 
> ControllerA.h and import CentralController.h in ControllerA.m.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>

Related mailsAuthorDate
mlimport Daniel Child Jan 24, 01:56
mlRe: import Nick Zitzmann Jan 24, 03:04
mlRe: import Daniel Child Jan 24, 04:06