add authentication method selection UI

This commit is contained in:
Bob Sun 2017-01-25 18:28:37 +08:00
parent fcef83277f
commit cc7a53781c
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
9 changed files with 273 additions and 7 deletions

View file

@ -0,0 +1,30 @@
//
// TextFieldTableViewCell.swift
// pass
//
// Created by Mingshen Sun on 25/1/2017.
// Copyright © 2017 Bob Sun. All rights reserved.
//
import UIKit
import Former
class TextFieldTableViewCell: UITableViewCell, TextFieldFormableRow {
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var textField: UITextField!
override func awakeFromNib() {
super.awakeFromNib()
}
func formTextField() -> UITextField {
return textField
}
func formTitleLabel() -> UILabel? {
return titleLabel
}
func updateWithRowFormer(_ rowFormer: RowFormer) {}
}