Trying to pull a number from a Field and keep getting Optional(number) instead of the number
@IBOutlet weak var years: UITextField! @IBAction func calculateYear
I also found forced unwrapping by changing a to a! worked as well. thanks to all who tried to help.