摘要: 代码:// 定义一个数组,使用sort函数对其排序let names = ["Chris", "Alex", "Ewa", "Barry", "Daniella"]// 完整形式names.sort( { (s1: String, s2: String) -> Bool in return s... 阅读全文
posted @ 2015-08-15 11:21 Xwoder 阅读(365) 评论(0) 推荐(0) 编辑