summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
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
+```