开发者

Create a Delegate for iphone (in a separate file)

开发者 https://www.devze.com 2022-12-20 06:55 出处:网络
I have been looking for hours and didn\'t find anything so I decided to give up and ask for your precious knowledge ;)

I have been looking for hours and didn't find anything so I decided to give up and ask for your precious knowledge ;)

开发者_如何学编程

In order to make my code cleaner, I would like to implement the delegate methods of NSXMLParser in another file ... but I couldn't find any tutorials ...

Could someone explain me briefly how to do that ?

Cheers mates,

Gauthier.


Create a Class that implements the methods you want your parser to respond to, then set the delegate of your NSXMLParser instance to an instance of your new Class.

0

精彩评论

暂无评论...
验证码 换一张
取 消