Remove unused elements (#530)
This commit is contained in:
parent
ff6a1edf62
commit
819371f55e
27 changed files with 9 additions and 111 deletions
|
|
@ -1,12 +0,0 @@
|
|||
//
|
||||
// ContentProvider.swift
|
||||
// pass
|
||||
//
|
||||
// Created by Mingshen Sun on 12/2/2017.
|
||||
// Copyright © 2017 Bob Sun. All rights reserved.
|
||||
//
|
||||
|
||||
protocol ContentProvider {
|
||||
func getContent() -> String?
|
||||
func setContent(content: String?)
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ protocol FillPasswordTableViewCellDelegate: AnyObject {
|
|||
func showHidePasswordSettings()
|
||||
}
|
||||
|
||||
class FillPasswordTableViewCell: UITableViewCell, ContentProvider {
|
||||
class FillPasswordTableViewCell: UITableViewCell {
|
||||
@IBOutlet var contentTextField: UITextField!
|
||||
@IBOutlet var settingButton: UIButton!
|
||||
@IBOutlet var generateButton: UIButton!
|
||||
|
|
|
|||
|
|
@ -65,11 +65,3 @@ class SliderTableViewCell: UITableViewCell {
|
|||
return self
|
||||
}
|
||||
}
|
||||
|
||||
extension SliderTableViewCell: ContentProvider {
|
||||
func getContent() -> String? {
|
||||
nil
|
||||
}
|
||||
|
||||
func setContent(content _: String?) {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
class TextFieldTableViewCell: UITableViewCell, ContentProvider {
|
||||
class TextFieldTableViewCell: UITableViewCell {
|
||||
@IBOutlet var contentTextField: UITextField!
|
||||
|
||||
func getContent() -> String? {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
class TextViewTableViewCell: UITableViewCell, ContentProvider {
|
||||
class TextViewTableViewCell: UITableViewCell {
|
||||
@IBOutlet var contentTextView: UITextView!
|
||||
|
||||
override func awakeFromNib() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue