remove authentication method controller

This commit is contained in:
Bob Sun 2017-02-20 22:24:25 +08:00
parent cdf6d7ee71
commit b5def8c782
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 0 additions and 35 deletions

View file

@ -1,31 +0,0 @@
//
// GitRepositoryAuthenticationSettingTableViewController.swift
// pass
//
// Created by Mingshen Sun on 25/1/2017.
// Copyright © 2017 Bob Sun. All rights reserved.
//
import UIKit
class GitRepositoryAuthenticationSettingTableViewController: UITableViewController {
var selectedMethod: String?
@IBOutlet weak var sshKeyCell: UITableViewCell!
@IBOutlet weak var passwordCell: UITableViewCell!
override func viewDidLoad() {
super.viewDidLoad()
navigationItem.title = "Auth Method"
switch selectedMethod ?? "" {
case "Password":
passwordCell.accessoryType = UITableViewCellAccessoryType.checkmark
case "SSH Key":
sshKeyCell.accessoryType = UITableViewCellAccessoryType.checkmark
default:
break
}
}
}