开发者

Import Foundations/NSXMLElement.h

开发者 https://www.devze.com 2023-03-05 18:34 出处:网络
I want to use the NSXMLElement in Cocoa/Objective-C. But when I #import <Foundation/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

精彩评论

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

关注公众号