restructure file organization
This commit is contained in:
parent
7effaa841a
commit
910660ede3
19 changed files with 52 additions and 20 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue