add authentication method selection UI
This commit is contained in:
parent
fcef83277f
commit
cc7a53781c
9 changed files with 273 additions and 7 deletions
30
pass/TextFieldTableViewCell.swift
Normal file
30
pass/TextFieldTableViewCell.swift
Normal 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) {}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue