summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-06-05 22:45:41 +0200
committerNami-Doc <vendethiel@hotmail.fr>2014-06-05 22:45:41 +0200
commitd9e5677d1a820021bd486040a8beeb9942f46603 (patch)
tree8ba78a8debc065c377dba2295ba747974a1ddd7e /zh-cn
parent689de60ec5e30c1e4963c551926f8789890ce58b (diff)
Add lang: tag for swift/zh-cn - fixes #640
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/swift-cn.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/zh-cn/swift-cn.html.markdown b/zh-cn/swift-cn.html.markdown
index e9dcb858..c87f9d10 100644
--- a/zh-cn/swift-cn.html.markdown
+++ b/zh-cn/swift-cn.html.markdown
@@ -1,10 +1,11 @@
---
language: swift
+filename: learnswift-cn.swift
contributors:
- ["Grant Timmerman", "http://github.com/grant"]
translators:
- ["Xavier Yao", "http://github.com/xavieryao"]
-filename: learnswift-cn.swift
+lang: zh-cn
---
Swift 是Apple 开发的用于iOS 和OS X 开发的编程语言。Swift 于2014年Apple WWDC (全球开发者大会)中被引入,用以与Objective-C 共存,同时对错误代码更具弹性。Swift 由Xcode 6 beta 中包含的LLVM编译器编译。
@@ -223,4 +224,4 @@ enum Suit {
// 泛型: 与Java 相似。使用`where` 关键字指定
// 泛型的要求.
-``` \ No newline at end of file
+```