Thursday, February 10, 2011

Expecting identifier before object string :(

Hi, I'm trying to format this line 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"];
    
    From Shamil

0 comments:

Post a Comment