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"];
精彩评论