How do I make a reset button for a simple xcode application? : I am making my first non "hello World app". I have a very simple application that I am making. My app has a date field, some input fields, some switches and a text view. I want to make a reset button that will put the app back to how it was when you first open it. 

here is my code so far:

    import UIKit

     class ViewController: UIViewController {
    
     // i will need to use these later 
     @IBOutlet weak var SubmitB: UIButton!
     @IBOutlet weak var DateB: UIDatePicker!
     @IBOutlet weak var ResetB: UIButton!
     @IBOutlet weak var LotI: UITextField!
     @IBOutlet weak var BlockI: UITextField!
     @IBOutlet weak var EmailI: UITextField!
     @IBOutlet weak var BuilderI: UITextField!
     @IBOutlet weak var SubdivisionI: UITextField!
     @IBOutlet weak var FilingI: UITextField!
     @IBOutlet weak var AddressI: UITextField! 
     @IBOutlet weak var HSSPPP: UISwitch!
     @IBOutlet weak var HSUTSLNC: UISwitch!
     @IBOutlet weak var HSOSC: UISwitch!
     @IBOutlet weak var FFCPPPP: UISwitch!
     @IBOutlet weak var FFCFSC: UISwitch!
     @IBOutlet weak var FFCOSC: UISwitch!
     @IBOutlet weak var RGSSPPP: UISwitch!
     @IBOutlet weak var RGSOSC: UISwitch!
     @IBOutlet weak var ISSSFR: UISwitch!
     @IBOutlet weak var ISFNC: UISwitch!
     @IBOutlet weak var ISOSC: UISwitch!
     @IBOutlet weak var GSPSSFG: UISwitch!
     @IBOutlet weak var GSFGF: UISwitch!
     @IBOutlet weak var GSFDNMC: UISwitch!
     @IBOutlet weak var GSOSC: UISwitch!
     @IBOutlet weak var CommentsI: UITextView!
     
    
     @IBAction func ResetBA(_ sender: Any) {

     //this is where i am stuck
        
     }

     override func viewDidLoad() {
         super.viewDidLoad()
         // Do any additional setup after loading the view, typically from a 
         nib.
     }
     
 
     override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
     }
 

 }


Any help would be great.
Thanks