开发者

Expecting identifier before object string :(

I'm trying to format this li开发者_Python百科ne correctly but so far, I'm getting no where:

NSString *urlAddress = selectedCell.@"html";

selectedCell is the category chosen,

IBOutlet UILabel *selectedCellText;
NSString *selectedCell;

How do I sort this out?


Fixed it,

NSString *urlAddress = [[NSBundle mainBundle] pathForResource:selectedCell ofType:@"htm"];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜