pardon me for beginner's question, I took this piece of code straight out of an online tutorial, didn't compile, I guess the course is outdated (my swift version is 2.2)
var years = edtYears.text.toInt();
It always complain something like Value of optional type String? not unwrapped
, I tried to put ?
in already, still no luck. Any tip, thanks