From 64116455689575d0bd538ee9305707b8570a567b Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Thu, 9 Feb 2017 10:53:07 +0800 Subject: [PATCH] polish code --- pass/Controllers/AboutTableViewController.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pass/Controllers/AboutTableViewController.swift b/pass/Controllers/AboutTableViewController.swift index 063993a..5444f66 100644 --- a/pass/Controllers/AboutTableViewController.swift +++ b/pass/Controllers/AboutTableViewController.swift @@ -13,12 +13,12 @@ class AboutTableViewController: BasicStaticTableViewController { override func viewDidLoad() { tableData = [ // section 0 - [[CellDataKey.type: CellDataType.link, CellDataKey.title: "Website", CellDataKey.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: "Website", .link: "https://github.com/mssun/pass-ios.git"], + [.type: CellDataType.link, .title: "Contact Developer", .link: "https://mssun.me"],], // section 1, - [[CellDataKey.type: CellDataType.segue, CellDataKey.title: "Open Source Components", CellDataKey.link: "showOpenSourceComponentsSegue"], - [CellDataKey.type: CellDataType.segue, CellDataKey.title: "Special Thanks", CellDataKey.link: "showSpecialThanksSegue"],], + [[.type: CellDataType.segue, .title: "Open Source Components", .link: "showOpenSourceComponentsSegue"], + [.type: CellDataType.segue, .title: "Special Thanks", .link: "showSpecialThanksSegue"],], ] navigationItemTitle = "About" super.viewDidLoad()