views:

15

answers:

1

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?

A: 

Fixed it,

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