Objective-C Xcode: Prefix.pch question?
Posted
by Johannes Jensen
on Stack Overflow
See other posts from Stack Overflow
or by Johannes Jensen
Published on 2010-04-16T08:14:26Z
Indexed on
2010/04/16
8:23 UTC
Read the original article
Hit count: 716
I have two files independant on each other.
Let's just call it Class1 and Class2.
In Class1, I need Class2, and in Class2 I need Class1.
I have a prefix file where I include all my files, and I get some syntax errors because I do
#import "Class1.h"
#import "Class2.h"
How would I define both of them so they can use each other?
What am I doing wrong?
© Stack Overflow or respective owner