A Simple Table View Example in Swift
Ron Mourant
114

One minor point: you don’t really need to put a Label in the prototype cell. (Hence, also no need to make an outlet called “titleLabel” for it.) Prototype cells have a built-in textLabel. Therefore, instead of doing

// Sets the text of the Label in the Table View Cell
aCell.titleLabel.text = self.objects[indexPath.row]

you can simply do

// Sets the text of the Table View Cell
aCell.textLabel?.text = self.objects[indexPath.row]