Ok, this fix my first problem, thanks ...
code:
var cString = "123"
var nNumber = 0
nNumber = Int(cString)
... but now the next problem follows ...
message : "Value of optional type 'Int?' must be unwrapped to a value of type 'Int'"
what does this mean and what must I do?
Topic:
Programming Languages
SubTopic:
Swift
Tags: