IOS学习之旅-Swift-函数
摘要://---------------- 函数 ---------------------------//func为函数名关键字//一个参数//func+函数名+(参数名:参数类型)-> 返回类型func sayHello(personName: String) -> String { let ...
阅读全文
posted @ 2015-07-06 18:59
posted @ 2015-07-06 18:59
posted @ 2015-07-06 18:58