标签:
let charA:Character = "a"
switch charA
{
case "A":
print("The letter a")
break
case "b":
print("The letter A")
case "a":
print("b = \("The letter B")")
default: break
}
Swift swith语句
原文地址:http://www.cnblogs.com/fantasy3588/p/5093927.html