作成中の XML アプリのチュートリアルを使用していますが、NSURL を iPhone 上の XML ファイルの場所に変更する方法がわかりません。
//XMLAppDelegate.m
- (void)applicationDidFinishLaunching:(UIApplication *)application {
NSURL *url = [[NSURL alloc] initWithString:@"sites.google.com/site/iphonesdktutorials/xml/...";
NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithContentsOfURL:url];
//Initialize the delegate.
XMLParser *parser = [[XMLParser alloc] initXMLParser];
//Set delegate [xmlParser setDelegate:parser];
BOOL success = [xmlParser parse];
if(success)
NSLog(@"No Errors");
else
NSLog(@"Error Error Error!!!");
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
}