预期的','在可选绑定中连接Swift“ Where case”中多子句条件的部分

时间:2018-07-09 06:48:02

标签: swift

当我在可选绑定中使用“ Where”大小写时出现错误

if let NewValue1 = MyStringOptional where NewValue1.characters.count == 5{

    print("hi")
}

0 个答案:

没有答案