In Swift, i cant cast Int to String by:
var iString:Int = 100 var strString = String(iString)
But my variable in Int? , there for error:
For preventing unsafe optional unwraps I use it like below as suggested by @AntiStrike12,
if let theString = someVariableThatIsAnInt { theStringValue = String(theString!)) }