标签:swift
func sayHello(personName: String) -> String { let greeting = "Hello, " + personName + "!" return greeting }
println(sayHello("Anna"))
4 Swift函数
原文地址:http://blog.csdn.net/xufeng0991/article/details/46593665