Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DOMパーサーを使用してNSStringオブジェクトを解析する方法は知っていますが、Web上のxmlファイルからそのNSStringを取得する方法がわかりません。
どんな情報でも役に立ちます。
オンラインファイルNSStringに基づいて作成:.xml
NSString
.xml
NSURL *theURL = [NSURL URLWithString:@"http://www.website.com/feed.xml"]; NSError *error = nil; NSString *theXML = [NSString stringWithContentsOfURL:theURL encoding:NSUTF8StringEncoding error:&error];