I want a function to check if a username and password exists in each respective column for validation. Both a username and password have to exists for it to pass. Right now it is implied for both columns to not be nil. textField1 is the username and textfield2 is the password. I have added a pic with my core data info. Ignore timeIn and timeOut.
var textField1 = UITextField()
var textField2 = UITextField()
@objc func check() {}