polish code

This commit is contained in:
Bob Sun 2017-02-09 10:53:07 +08:00
parent 9c13a628b9
commit 6411645568
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -13,12 +13,12 @@ class AboutTableViewController: BasicStaticTableViewController {
override func viewDidLoad() { override func viewDidLoad() {
tableData = [ tableData = [
// section 0 // section 0
[[CellDataKey.type: CellDataType.link, CellDataKey.title: "Website", CellDataKey.link: "https://github.com/mssun/pass-ios.git"], [[.type: CellDataType.link, .title: "Website", .link: "https://github.com/mssun/pass-ios.git"],
[CellDataKey.type: CellDataType.link, CellDataKey.title: "Contact Developer", CellDataKey.link: "https://mssun.me"],], [.type: CellDataType.link, .title: "Contact Developer", .link: "https://mssun.me"],],
// section 1, // section 1,
[[CellDataKey.type: CellDataType.segue, CellDataKey.title: "Open Source Components", CellDataKey.link: "showOpenSourceComponentsSegue"], [[.type: CellDataType.segue, .title: "Open Source Components", .link: "showOpenSourceComponentsSegue"],
[CellDataKey.type: CellDataType.segue, CellDataKey.title: "Special Thanks", CellDataKey.link: "showSpecialThanksSegue"],], [.type: CellDataType.segue, .title: "Special Thanks", .link: "showSpecialThanksSegue"],],
] ]
navigationItemTitle = "About" navigationItemTitle = "About"
super.viewDidLoad() super.viewDidLoad()