I created 2 UITextFields for the person to enter knowledge (Int) into. I then need to create a var from the person enter knowledge to make use of in some equations. How do I am going about recording the info that the person inputed into the blocks?
My code presently appears to be like like this.
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
tremendous.viewDidLoad()
let faucet = UITapGestureRecognizer(goal: self, motion: #selector(UIInputViewController.dismissKeyboard))
view.addGestureRecognizer(faucet)
}
@objc func dismissKeyboard() {
view.endEditing(true)
}
@IBAction func sMinInput(_ sender: UITextField) {
}
@IBAction func sMaxInput(_ sender: UITextField) {
}