swift 中Xcode8 String转化为Int类型,怎么办?

2026年09月26日 18:33
有1个网友回答
网友(1):

let str = "123"
let b = Int(str)