📜  swift 声明可选值 - Swift 代码示例

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

代码示例1
// Optional values are types that can contain nil
var optionalValue: String? // this can be done with more than strings, but for this example that's what was used