Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

perrien

macrumors newbie
Original poster
Apr 26, 2008
20
0
I've got 2 classes, GCFacet and GCLapPlane and they have some methods where a facet will be passed to a method in lap and the other way around.

Both the classes work fine independently but when I put in the methods that reference each other, I get errors saying Parse Issue, Expected a type.

Everything is imported to everything else, if I comment out the offending methods then it all works fine otherwise.

Any ideas?

After some more searching I found an answer. I moved the #include to the xxx.m file and put @class xxx in the header. Here's some more info.
 

Attachments

  • Screen Shot 2011-10-09 at 3.10.27 PM.png
    Screen Shot 2011-10-09 at 3.10.27 PM.png
    69.9 KB · Views: 379
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.