PDA

View Full Version : Got a problem with Hpple HTML Parser!




saleh.hi.62
Dec 1, 2011, 10:52 AM
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 (https://github.com/topfunky/hpple) and here is the link of file which has error TFHppleElement (https://github.com/topfunky/hpple/blob/master/TFHppleElement.m)



mduser63
Dec 1, 2011, 11:40 AM
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.