声明
str2:String? = nil
如:
func test(str:String, str2:String? = nil){
}
test("哈哈");
test("哈哈", str2: "哈哈哈");
声明
str2:String? = nil
如:
func test(str:String, str2:String? = nil){
}
test("哈哈");
test("哈哈", str2: "哈哈哈");
Copyright © 2013 Powered by MWeb, Theme used GitHub CSS. 豫ICP备16018939号-2