开发者

Import Foundations/NSXMLElement.h

I want to use the NSXMLElement in Cocoa/Objective-C. But when I

#import <Foundation/NSXMLElement.h>

XCode t开发者_如何学Cells me: No such file or directory found. I have Foundations Framework added to the linked libraries of my project.

How can I import the NSXMLElement?


Mac

NSXMLElement is part of the Foundation framework, it's imported by:

#import <Cocoa/Cocoa.h>

iPhone

NSXMLElement is not available on the iPhone.

Alternatives:
- NSXMLParser (native)
- TBXML (framework)
- KissXML (framework)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜