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?
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?