Can't find NSXMLDocument class for XML parsing

2019-06-03 10:23发布

I have been trying to trying to parse an xml file using NSXML parser . In that i want to use NSXMLDocument class for storing data in it's instance. After searching in all possible ways i failed to get clear idea about NSXMLDocument. I didn't import any class especially for that. Do i have to add any classes or lib files ???

1条回答
老娘就宠你
2楼-- · 2019-06-03 11:16

NSXMLDocument is not availble on iOS. You options are to use either NSXMLParser sax based parsing or a third party library.

查看更多
登录 后发表回答