Skip to content

Commit cbde6c1

Browse files
thang2410199jessesquires
authored andcommitted
fix footer for header in swift example (jessesquires#1833)
1 parent 45daada commit cbde6c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SwiftExample/SwiftExample/InitalTableViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ class InitalTableViewController: UITableViewController {
8585

8686
override func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
8787
switch section {
88-
case 2:
88+
case 0:
8989
return "Copyright © 2015\nJesse Squires\nMIT License"
90-
case 3:
90+
case 1:
9191
return "Thanks to all the contributers and MacMeDan for this swift example."
9292
default:
9393
return nil
@@ -125,6 +125,6 @@ class InitalTableViewController: UITableViewController {
125125
}
126126
}
127127

128-
128+
129129

130130
}

0 commit comments

Comments
 (0)