Is there a difference between only <NSXMLParserDelegate>, only setDelegate method, or the use of bot
Posted
by gotye
on Stack Overflow
See other posts from Stack Overflow
or by gotye
Published on 2010-02-20T14:19:58Z
Indexed on
2010/05/31
4:12 UTC
Read the original article
Hit count: 393
Hey,
I noticed that when I do this :
[myParser setDelegate:self];
it works :D (even if I didn't add the code in the header file ... you know, the
<delegateStuff, delegateOtherStuff>
in the interface declaration)
When are you supposed to modify the header file to make your delegate work ? Is the setDelegate method enough to make it work ?
Cheers for any help ;)
Gauthier
© Stack Overflow or respective owner