I'm not able to compile the code in masterViewController as
I'm receiving an error UITableView
does not have member named textLabel
var urls = [NSURL(string: "http://trialwebsite.ucoz.com/GurujiHymns/02_BIGDI_MERI_TAQDIR_KO_Singer_Masoom_Thakur.mp3")!,NSURL(string: "http://trialwebsite.ucoz.com/GurujiHymns/02_BIGDI_MERI_TAQDIR_KO_Singer_Masoom_Thakur.mp3")!,NSURL(string: "http://trialwebsite.ucoz.com/GurujiHymns/03_GURU_JI_TERI_REHMAT_Singer_Sada_Thakur.mp3")!]
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell
let object = objects[indexPath.row] as! NSDate
cell.textLabe!.text = NSURL(string: urls)[indexPath.row] // error UITableView does not have member named textLabel
return cell
}
You are written
you have to write
To print url string in textLabel