【发布时间】:2012-04-18 12:02:27
【问题描述】:
我正在关注 iTunes U 上的斯坦福大学 iOS 开发课程。
在其中一个演示(我一直在尝试遵循)中,有这段代码从NSURL 加载属性列表并将其返回为NSMutableDictionary。
-(NSMutableDictionary *) words
{
NSURL *wordsURL=[NSURL URLWithString:@"http://cs193p.stanford.edu/vocabwords.txt"];
words=[[NSMutableDictionary dictionaryWithContentsOfURL:wordsURL] retain];
return words;
}
应用程序已成功构建,但在运行时出现以下错误并卡住:
我不知道问题出在哪里。你能帮忙吗?
【问题讨论】:
标签: objective-c ios breakpoints xcode4.3