Your First iOS and UIKit App 路 Closures | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5993-your-first-ios-and-uikit-app/lessons/33

Hi,

I am a total beginner (in programming & ios-programming). I followed your guide vary carefully, but in my version the score and round are now updated when I press the button a second time.
So I press 鈥淗it me鈥 the 1st time, I get the pop up alert, click OK, still round 1 and 0 score, then I press 鈥淗it me鈥 again and I see round 2 and my score. What could be the reason for this?
I already downloaded the material for this video and our code is exactly the same.
Don鈥檛 know what to do. Using Xcode 10.1

Keep up the good work!
Simon

@s1mme Does this happen for you in the original version too?

Hi,
thanks for your reply. But what do you mean by 鈥渙riginal version鈥?
I followed the guide completely, so there is no difference in 鈥渕y version鈥 and the 鈥渧ideo version鈥.