Parse Issue, Expected a type

Discussion in 'Mac Programming' started by perrien, Oct 9, 2011.

  1. perrien, Oct 9, 2011
    Last edited: Oct 9, 2011

    perrien macrumors newbie

    Joined:
    Apr 26, 2008
    #1
    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.
     

    Attached Files:

Share This Page