swift语法 2018-03-12 本文已影响0人 可可托海的程序猿 运算符 空合运算符(Nil Coalescing Operator) a??b 相当于 a != nil ? a! : b 注:nil相当于java中的null表示空直