将翻译人员声明移到 h1 之后
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
# 基础部分
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[numbbbbb](https://github.com/numbbbbb), [lyuka](https://github.com/lyuka), [JaySurplus](https://github.com/JaySurplus)
|
||||
> 校对:[lslxdx](https://github.com/lslxdx)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[xtymichael](https://github.com/xtymichael)
|
||||
|
||||
# 基础部分
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [常量和变量](#constants_and_variables)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 基本运算符
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[XieLingWang](https://github.com/xielingwang)
|
||||
> 校对:[EvilCome](https://github.com/Evilcome)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[JackAlan](https://github.com/AlanMelody)
|
||||
|
||||
# 基本运算符
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [术语](#terminology)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 字符串和字符(Strings and Characters)
|
||||
---
|
||||
|
||||
> 1.0
|
||||
> 翻译:[wh1100717](https://github.com/wh1100717)
|
||||
> 校对:[Hawstein](https://github.com/Hawstein)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[DianQK](https://github.com/DianQK)
|
||||
|
||||
# 字符串和字符(Strings and Characters)
|
||||
---
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [字符串字面量](#string_literals)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 集合类型 (Collection Types)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[zqp](https://github.com/zqp)
|
||||
> 校对:[shinyzhu](https://github.com/shinyzhu), [stanzhai](https://github.com/stanzhai), [feiin](https://github.com/feiin)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[JackAlan](https://github.com/AlanMelody)
|
||||
|
||||
# 集合类型 (Collection Types)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [集合的可变性(Mutability of Collections)](#mutability_of_collections)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 控制流
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[vclwei](https://github.com/vclwei), [coverxit](https://github.com/coverxit), [NicePiao](https://github.com/NicePiao)
|
||||
> 校对:[coverxit](https://github.com/coverxit), [stanzhai](https://github.com/stanzhai)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[JackAlan](https://github.com/AlanMelody)
|
||||
|
||||
# 控制流
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [For 循环](#for_loops)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 函数(Functions)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[honghaoz](https://github.com/honghaoz)
|
||||
> 校对:[LunaticM](https://github.com/LunaticM)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[dreamkidd](https://github.com/dreamkidd)
|
||||
|
||||
# 函数(Functions)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [函数定义与调用(Defining and Calling Functions)](#Defining_and_Calling_Functions)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 闭包(Closures)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[wh1100717](https://github.com/wh1100717)
|
||||
> 校对:[lyuka](https://github.com/lyuka)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[100mango](https://github.com/100mango)
|
||||
|
||||
# 闭包(Closures)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [闭包表达式(Closure Expressions)](#closure_expressions)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 枚举(Enumerations)
|
||||
---
|
||||
|
||||
> 1.0
|
||||
> 翻译:[yankuangshi](https://github.com/yankuangshi)
|
||||
> 校对:[shinyzhu](https://github.com/shinyzhu)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[futantan](https://github.com/futantan)
|
||||
|
||||
# 枚举(Enumerations)
|
||||
---
|
||||
|
||||
本页内容包含:
|
||||
|
||||
- [枚举语法(Enumeration Syntax)](#enumeration_syntax)
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
# 类和结构体
|
||||
|
||||
> 1.0
|
||||
> 翻译:[JaySurplus](https://github.com/JaySurplus)
|
||||
> 校对:[sg552](https://github.com/sg552)
|
||||
@ -5,8 +7,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[SkyJean](https://github.com/SkyJean)
|
||||
|
||||
# 类和结构体
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [类和结构体对比](#comparing_classes_and_structures)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 属性 (Properties)
|
||||
---
|
||||
|
||||
> 1.0
|
||||
> 翻译:[shinyzhu](https://github.com/shinyzhu)
|
||||
> 校对:[pp-prog](https://github.com/pp-prog) [yangsiy](https://github.com/yangsiy)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[yangsiy](https://github.com/yangsiy)
|
||||
|
||||
# 属性 (Properties)
|
||||
---
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [存储属性(Stored Properties)](#stored_properties)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 方法(Methods)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[pp-prog](https://github.com/pp-prog)
|
||||
> 校对:[zqp](https://github.com/zqp)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[DianQK](https://github.com/DianQK)
|
||||
|
||||
# 方法(Methods)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [实例方法(Instance Methods)](#instance_methods)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 下标脚本(Subscripts)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[siemenliu](https://github.com/siemenliu)
|
||||
> 校对:[zq54zquan](https://github.com/zq54zquan)
|
||||
@ -5,10 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[shanksyang](https://github.com/shanksyang)
|
||||
|
||||
|
||||
# 下标脚本(Subscripts)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [下标脚本语法](#subscript_syntax)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 继承(Inheritance)
|
||||
-------------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[Hawstein](https://github.com/Hawstein)
|
||||
> 校对:[menlongsheng](https://github.com/menlongsheng)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[shanksyang](https://github.com/shanksyang)
|
||||
|
||||
# 继承(Inheritance)
|
||||
-------------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [定义一个基类(Base class)](#defining_a_base_class)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 构造过程(Initialization)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[lifedim](https://github.com/lifedim)
|
||||
> 校对:[lifedim](https://github.com/lifedim)
|
||||
@ -5,10 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[chenmingbiao](https://github.com/chenmingbiao)
|
||||
|
||||
# 构造过程(Initialization)
|
||||
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [存储型属性的初始赋值](#setting_initial_values_for_stored_properties)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 析构过程(Deinitialization)
|
||||
---------------------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[bruce0505](https://github.com/bruce0505)
|
||||
> 校对:[fd5788](https://github.com/fd5788)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[chenmingbiao](https://github.com/chenmingbiao)
|
||||
|
||||
# 析构过程(Deinitialization)
|
||||
---------------------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [析构过程原理](#how_deinitialization_works)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 自动引用计数
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[TimothyYe](https://github.com/TimothyYe)
|
||||
> 校对:[Hawstein](https://github.com/Hawstein)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[Channe](https://github.com/Channe)
|
||||
|
||||
# 自动引用计数
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [自动引用计数的工作机制](#how_arc_works)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
# 可空链式调用
|
||||
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[Jasonbroker](https://github.com/Jasonbroker)
|
||||
@ -7,7 +9,7 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[lyojo](https://github.com/lyojo)
|
||||
|
||||
-----------------
|
||||
|
||||
可空链式调用(Optional Chaining)是一种可以请求和调用属性、方法及下标的过程,它的可空性体现于请求或调用的目标当前可能为空(nil)。如果可空的目标有值,那么调用就会成功;如果选择的目标为空(nil),那么这种调用将返回空(nil)。多个连续的调用可以被链接在一起形成一个调用链,如果其中任何一个节点为空(nil)将导致整个链调用失败。
|
||||
|
||||
>
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[lyojo](https://github.com/lyojo)
|
||||
|
||||
# 错误处理
|
||||
-----------------
|
||||
|
||||
> 2.0
|
||||
> 翻译+校对:[lyojo](https://github.com/lyojo)
|
||||
|
||||
错误处理是响应错误以及从错误中返回的过程。swift提供第一类错误支持,包括在运行时抛出,捕获,传送和控制可回收错误。
|
||||
|
||||
一些函数和方法不能总保证能够执行所有代码或产生有用的输出。可空类型用来表示值可能为空,但是当函数执行失败的事后,可空通常可以用来确定执行失败的原因,因此代码可以正确地响应失败。在Swift中,这叫做抛出函数或者抛出方法。
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 类型转换(Type Casting)
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[xiehurricane](https://github.com/xiehurricane)
|
||||
> 校对:[happyming](https://github.com/happyming)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[yangsiy](https://github.com/yangsiy)
|
||||
|
||||
# 类型转换(Type Casting)
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [定义一个类层次作为例子](#defining_a_class_hierarchy_for_type_casting)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 嵌套类型
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[Lin-H](https://github.com/Lin-H)
|
||||
> 校对:[shinyzhu](https://github.com/shinyzhu)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[SergioChan](https://github.com/SergioChan)
|
||||
|
||||
# 嵌套类型
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [嵌套类型实例](#nested_types_in_action)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 扩展(Extensions)
|
||||
----
|
||||
|
||||
> 1.0
|
||||
> 翻译:[lyuka](https://github.com/lyuka)
|
||||
> 校对:[Hawstein](https://github.com/Hawstein)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[shanksyang](https://github.com/shanksyang)
|
||||
|
||||
#扩展(Extensions)
|
||||
----
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [扩展语法](#extension_syntax)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 协议
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[geek5nan](https://github.com/geek5nan)
|
||||
> 校对:[dabing1022](https://github.com/dabing1022)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[futantan](https://github.com/futantan)
|
||||
|
||||
# 协议
|
||||
-----------------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [协议的语法(Protocol Syntax)](#protocol_syntax)
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
# 泛型
|
||||
|
||||
------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[takalard](https://github.com/takalard)
|
||||
> 校对:[lifedim](https://github.com/lifedim)
|
||||
@ -5,10 +9,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对: [SergioChan](https://github.com/SergioChan)
|
||||
|
||||
# 泛型
|
||||
|
||||
------
|
||||
|
||||
本页包含内容:
|
||||
|
||||
- [泛型所解决的问题](#the_problem_that_generics_solve)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 访问控制
|
||||
------------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[JaceFu](http://www.devtalking.com/)
|
||||
> 校对:[ChildhoodAndy](http://childhood.logdown.com)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[mmoaay](https://github.com/mmoaay)
|
||||
|
||||
# 访问控制
|
||||
------------------
|
||||
|
||||
本页内容包括:
|
||||
|
||||
- [模块和源文件](#modules_and_source_files)
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# 高级运算符
|
||||
-----------------
|
||||
|
||||
> 1.0
|
||||
> 翻译:[xielingwang](https://github.com/xielingwang)
|
||||
> 校对:[numbbbbb](https://github.com/numbbbbb)
|
||||
@ -5,9 +8,6 @@
|
||||
> 2.0
|
||||
> 翻译+校对:[buginux](https://github.com/buginux)
|
||||
|
||||
# 高级运算符
|
||||
-----------------
|
||||
|
||||
本页内容包括:
|
||||
|
||||
- [位运算符](#bitwise_operators)
|
||||
|
||||
Reference in New Issue
Block a user