method return values
Brought to you by:
didosevilla
Many of the methods defined in XMLParser class don't have an explicited return value. My compiler (gcc 3 on MacOSX) assumes an integer return value in this case.
However, some of the methods don't contain a return statement, which leads to compiler errors.
I suggest you make the return types explicit:
'(int) foo' instead of just 'foo'.
Also you should include explicit return statements in the implementations of the methods.
Of course I have solved these problems in my local copies, but I think it would help the whole ObjC community if it is solved here.
Cheers,
Rudi Angela