Got a problem with Hpple HTML Parser!

Discussion in 'Mac Programming' started by saleh.hi.62, Dec 1, 2011.

  1. macrumors member

    Joined:
    Jul 25, 2011
    #1
    Hello guys,

    i am trying to use Hpple parser in my program, but it has a strange Error! Error is shown in the below picture.

    here is the Hpple Parser and here is the link of file which has error TFHppleElement
     

    Attached Files:

  2. macrumors 68040

    mduser63

    Joined:
    Nov 9, 2004
    Location:
    Salt Lake City, UT
    #2
    The error means exactly what it says. For the synthesized property "parent", the class needs to have a corresponding instance variable called "parent". Add one to make the error go away.

    Note that this is not true for the modern Objective-C runtime. The modern runtime is available on iOS and 64-bit OS X. Presumably you're building a 32-bit executable from your project. If you switch to building a 64-bit only binary, the error should go away even without adding a "parent" instance variable to the class.
     

Share This Page