From 16386d375c3520414a81b132d032afed08043df0 Mon Sep 17 00:00:00 2001 From: 100mango <100mango@users.noreply.github.com> Date: Sun, 28 Jun 2015 10:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=97=AD=E5=8C=85=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8FClosure=20Expressions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 旧版本: sorted function Swift2.0: sort(_:) method --- source/chapter2/07_Closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/07_Closures.md b/source/chapter2/07_Closures.md index 093a113d..9ccd932e 100755 --- a/source/chapter2/07_Closures.md +++ b/source/chapter2/07_Closures.md @@ -41,7 +41,7 @@ Swift 的闭包表达式拥有简洁的风格,并鼓励在常见场景中进 闭包表达式是一种利用简洁语法构建内联闭包的方式。 闭包表达式提供了一些语法优化,使得撰写闭包变得简单明了。 -下面闭包表达式的例子通过使用几次迭代展示了`sorted`函数定义和语法优化的方式。 +下面闭包表达式的例子通过使用几次迭代展示了`sort(_:)`方法定义和语法优化的方式。 每一次迭代都用更简洁的方式描述了相同的功能。