Put PasswordStore as instance in controllers
This commit is contained in:
parent
d338e725d5
commit
d2cff20131
12 changed files with 67 additions and 55 deletions
|
|
@ -11,10 +11,11 @@ import ObjectiveGit
|
|||
|
||||
class CommitLogsTableViewController: UITableViewController {
|
||||
var commits: [GTCommit] = []
|
||||
let passwordStore = PasswordStore.shared
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
commits = PasswordStore.shared.getRecentCommits(count: 20)
|
||||
commits = passwordStore.getRecentCommits(count: 20)
|
||||
navigationItem.title = "Recent Commit Logs"
|
||||
navigationController!.navigationBar.topItem!.title = "About"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue