-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from red5pro/develop
Develop
- Loading branch information
Showing
17 changed files
with
457 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// ParamAddCell.swift | ||
// R5ProTestbed | ||
// | ||
// Created by Todd Anderson on 4/14/22. | ||
// Copyright © 2022 Infrared5. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
class ParamAddCell : UITableViewCell { | ||
|
||
var delegate: ParamCellDelegate? | ||
|
||
@IBOutlet weak var button: UIButton! | ||
|
||
@IBAction func onAdd (_ sender: Any) { | ||
self.delegate?.addNewCell() | ||
} | ||
|
||
override init(style:UITableViewCell.CellStyle, reuseIdentifier: String?) { | ||
super.init(style: style, reuseIdentifier: reuseIdentifier) | ||
self.setup() | ||
} | ||
|
||
required init?(coder: NSCoder) { | ||
super.init(coder: coder) | ||
self.setup() | ||
} | ||
|
||
override open func awakeFromNib() { | ||
super.awakeFromNib() | ||
self.setup() | ||
} | ||
|
||
func setup () { | ||
} | ||
|
||
} | ||
|
||
extension ParamAddCell { | ||
|
||
func configure (_ delegate: ParamCellDelegate) { | ||
self.delegate = delegate | ||
} | ||
|
||
} |
Oops, something went wrong.