📜  type String 和 int 快速加法 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:00.949000             🧑  作者: Mango

代码示例1
let a:Int? = Int(firstText.text)     // firstText is UITextField  
let b:Int? = Int(secondText.text)   // secondText is UITextField