From f270792d5901361297424022e72a960b9050eab2 Mon Sep 17 00:00:00 2001 From: Klaus Date: Fri, 15 Apr 2016 19:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 类型方法代码写成static func 原文为 class func --- source/chapter2/11_Methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/11_Methods.md b/source/chapter2/11_Methods.md index 1f775c78..f2574ad3 100755 --- a/source/chapter2/11_Methods.md +++ b/source/chapter2/11_Methods.md @@ -224,7 +224,7 @@ ovenLight.next() ```swift class SomeClass { - static func someTypeMethod() { + class func someTypeMethod() { // type method implementation goes here } }