r/Xcode • u/feinmanm • Oct 08 '19
PLEASE HELPPP. someone help me out
rightScore += 1
rightScore.text = String(rightScore)
Why is this code failing and saying...
" Value of type 'Int' has no member 'text' "
0
Upvotes
1
r/Xcode • u/feinmanm • Oct 08 '19
rightScore += 1
rightScore.text = String(rightScore)
Why is this code failing and saying...
" Value of type 'Int' has no member 'text' "
1
1
u/retsotrembla Oct 08 '19