Post

Replies

Boosts

Views

Activity

try to convert string to integer
Hi all, at first I'm a beginner with xcode. When I try to convert a string to integer I got this error message: cannot find 'int' in scope code: var cString = "123" var nNumber = 0 nNumber = int(cString) the same thing when I try to convert from integer to string cString = string(nNumber) ... what can I do to fix this problem?
6
0
1.6k
Mar ’21