Last active
August 29, 2015 14:12
-
-
Save mauriciord/dbf2f45bce44af8aa218 to your computer and use it in GitHub Desktop.
Código retirado do livro que está com erro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { | |
let row = indexPath.row | |
let meal = meals[row] | |
var cell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: nil) | |
cell?.textLabel?.text = meal.name | |
return cell! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deu certo ! :)