文档地址:
1、Initializing an Empty String
var emtyString = “”
var anotherEmptyString = String()
两种初始化方法
2、Find out whether a String value is empty by checking its Boolean isEmpty property
if emptyString.isEmpy {
print(“Nothing to see here”)
}
3、override 计算机里面是覆盖的意思
5、for character in “Dog!
原文链接:https://www.f2er.com/swift/322037.html