swift 常量声明

66 阅读1分钟

语法

let <#constant name#>: <#type#> = <#expression#>

官方文档 docs.swift.org/swift-book/…