Slide 6
Slide 6 text
a be%er? swi+ way
let shortPath = (indexPath.section, indexPath.row)
switch shortPath {
case (0, 0):
cell.textLabel.text = "Twitter"
case (0, 1):
cell.textLabel.text = "Blog"
case (0, 2):
cell.textLabel.text = "Contact Us"
case (1, 0):
cell.textLabel.text = “@nickoneill"
case (1, 1):
cell.textLabel.text = “@objctoswift"
case (1, 2):
cell.textLabel.text = “@whyareyousodumb"
default:
cell.textLabel.text = "¯\\_(ϑ)_/¯"
}
Discovering Na.ve Swi1 Pa3erns • June 9th, 2016