passforios/pass/Controllers/SpecialThanksTableViewController.swift

41 lines
965 B
Swift
Raw Normal View History

2017-02-09 01:41:17 +08:00
//
// SpecialThanksTableViewController.swift
// pass
//
// Created by Mingshen Sun on 9/2/2017.
// Copyright © 2017 Bob Sun. All rights reserved.
//
import UIKit
class SpecialThanksTableViewController: BasicStaticTableViewController {
let openSourceComponents = [
[
"Contributors".localize(),
"https://github.com/mssun/passforios/graphs/contributors",
],
[
"Password Store",
"https://passwordstore.org",
],
[
"Icon8",
"https://icons8.com",
],
[
"FlatIcon",
"https://www.flaticon.com",
],
]
2018-12-09 16:59:07 -08:00
2017-02-09 01:41:17 +08:00
override func viewDidLoad() {
tableData.append([])
for item in openSourceComponents {
tableData[0].append(
2017-02-10 16:44:59 +08:00
[CellDataKey.action: "link", CellDataKey.title: item[0], CellDataKey.link: item[1]]
2017-02-09 01:41:17 +08:00
)
}
super.viewDidLoad()
2017-02-09 21:45:31 +08:00
}
}