4dc673e444
fix: 同步官方的错误勘正 ( #1212 )
...
Co-authored-by: lanbangjue <lanbangjue@taqu.cn >
2022-12-09 07:43:46 -06:00
8f3b7b5b23
勘误, 第522行 ( #1207 )
...
声明一个可选常量或者变量->声明一个可选变量
2022-12-04 19:20:18 -06:00
d71b74bc10
fix: 修正描述 ( #1210 )
...
原文:Classes can use the class keyword instead.
https://docs.swift.org/swift-book/LanguageGuide/Subscripts.html
2022-12-04 19:20:08 -06:00
8c24b2e9c8
Update 02_Basic_Operators.md ( #1211 )
...
精准描述求余操作符,尤其是对负数求余
2022-12-04 19:19:36 -06:00
ef29944f75
Update 23_Opaque_Types.md ( #1209 )
...
Fix a typo in the original English code snippet where "smallTriangle" is misspelled as "smallTriange"
2022-11-22 19:24:15 -06:00
960616507f
Update 01_The_Basics.md ( #1204 )
...
勘误,第608行
print("My number is \(muNumber)") -> print("My number is \(myNumber)")
2022-10-24 21:11:39 -05:00
77b5caff91
更新部分内容到 Swift 5.7 ( #1200 )
...
* 更新内容到 Swift 5.7
* 更新内容到 Swift 5.7
* 更新内容到 Swift 5.7
* update to Swift version 5.7
* 更新内容到 Swift 5.7
* 更新内容到 Swift 5.7
* 修正部分术语
* 更新内容到 Swift 5.7
* 更新内容到 Swift 5.7
* 标题格式修改
* 修改了部分用词
* 修改了代码块格式
* 修改了代码段及行内代码格式
* 修改了代码段及行内代码样式
* 按照排版要求重新修改了部分格式
* Delete 02_Lexical_Structure.md
* Delete 03_Types.md
* Delete 04_Expressions.md
* Delete 05_Statements.md
* Delete 07_Attributes.md
* Delete 10_Summary_of_the_Grammar.md
* 根据排版指南修改了部分格式
* 根据排版指南修改了部分格式
* Update source/03_language_reference/02_Lexical_Structure.md
Co-authored-by: Jie Liang <lj925184928@gmail.com >
2022-09-10 08:00:58 -05:00
df35244821
语病更正 ( #1197 )
...
* 语病更正
* 删除多余的反引号
2022-08-02 10:03:13 -05:00
69c79b8d02
fix tiny typo of wrong usage Chinese punctuation ( #1191 )
2022-06-19 20:45:41 -05:00
a1b4a69db2
fix typo ( #1190 )
...
* 校对: chapter2/03_Strings_and_Characters 方法名变化
index(of:) 已更名为: firstIndex(of:)
* Update 03_Strings_and_Characters.md
fix typo
2022-06-14 06:54:18 -05:00
739176f380
Update 21_Protocols.md ( #1188 )
2022-06-04 14:05:29 -05:00
2f77c8dc2d
Update 20_Extensions.md ( #1187 )
2022-06-03 07:26:27 -05:00
8f21fcf5e3
Develop ( #1186 )
...
* 删除了一个多余'>'
* 修改几条语句和一个错误
2022-06-02 10:43:45 -05:00
6205b4d2f8
删除了一些 ( #1184 )
2022-05-18 06:24:33 -05:00
60744b4033
修改病句,“一个段字符串”改为“一段字符串” ( #1182 )
2022-03-23 07:12:21 -05:00
495cd079e1
Update 25_Memory_Safety.md
2021-12-09 09:19:46 -06:00
382c645a22
Update 03_Strings_and_Characters.md
2021-12-09 09:14:52 -06:00
c7ab79f41c
Add missing code snippet ( #1172 )
...
* Add missing code snippet
* Modify the snippet
Co-authored-by: nm4j <doco>
2021-12-09 09:02:47 -06:00
a40f423705
fix: 错别字弱应用改为弱引用 ( #1170 )
...
Co-authored-by: levilai <levilai@futunn.com >
2021-10-18 15:00:21 -05:00
4d13d67217
修改错别字,理顺部分语句 ( #1168 )
2021-09-10 08:47:32 -05:00
e5756d5ca7
更新部分章节到 Swift 5.5 ( #1166 )
...
* Advanced_Operators Swift 5.3 beata
* feat: update Opaque Types Swift 5.5
* feat: update Properties Swift 5.5
* feat: update AdvancedOperators Swift 5.5
* fix: 根据校对意见修改
* feat: update Statements to Swift 5.5
* feat: [wip] experssion to Swift 5.5
* feat: update Expression to Swift 5.5
* feat: [wip] revision history to Swift 5.5
* feat: [wip] revision history to Swift 5.5
* feat: revision history to Swift 5.5
* fix: typo
* [WIP] ARC
* feat: update ARC to Swift 5.5
* Update 24_Automatic_Reference_Counting.md
* feat: update Type to Swift 5.5
Co-authored-by: Jie Liang <lj925184928@gmail.com >
2021-09-04 21:33:37 -05:00
32a078e84b
fix: syntax highlighting ( #1167 )
...
For better reading experience XD
2021-09-04 21:32:35 -05:00
c0b147b67a
fix(typo): introducor -> introducer
2021-08-23 00:07:50 +08:00
1491926107
Update 20_Extensions.md
2021-08-18 11:40:14 -05:00
245f7268dc
Update 14_Initialization.md
2021-08-18 11:32:00 -05:00
79076b3617
fix: 修改了并发中的若干问题 & 增加了贡献者 ( #1164 )
...
Co-authored-by: goupy <goupy@fenbi.com >
2021-08-18 11:22:17 -05:00
95e2a467fc
feat: concurrency ( #1162 )
...
* feat: concurrency
* Update 28_Concurrency.md
Co-authored-by: goupy <goupy@fenbi.com >
Co-authored-by: Jie Liang <lj925184928@gmail.com >
2021-08-10 08:03:49 -05:00
b4f1d398ea
Language Reference - Attributes ( #1154 )
...
* chore: 更新方法名与 propertyWrapper 中对于本地变量的描述
* chore: 翻译 resultBuilder 与 Result-Building Methods
* feat: 新增结果构造器翻译
* chore: 修改结果构造方法的翻译
* chore: 修改结果转换的翻译
* chore: 修改不合适的翻译
Co-authored-by: WAMaker <wamaker@WAMakerdeMacBook-Pro-2.local >
2021-07-18 20:58:44 -05:00
42bed2bf9a
更新部分章节到 Swift 5.5 ( #1152 )
...
* Advanced_Operators Swift 5.3 beata
* feat: update Opaque Types Swift 5.5
* feat: update Properties Swift 5.5
* feat: update AdvancedOperators Swift 5.5
* fix: 根据校对意见修改
2021-07-10 21:14:10 -05:00
a8f729a52d
Language Guide - Functions ( #1143 )
...
* feat: 可变参数新增内容
* fix: 根据修改意见修改
2021-07-04 06:11:39 -05:00
f43cb3fdb9
feat:示例代码更新 ( #1149 )
2021-06-26 06:52:30 -05:00
872d7af8a3
fix:示例代码更新 ( #1148 )
2021-06-22 13:03:11 -05:00
24d88f684a
fix:示例代码更新 ( #1147 )
2021-06-22 13:03:02 -05:00
a15735f51b
fix:for -> for-in ( #1146 )
2021-06-22 11:08:23 -05:00
aba2a5fb55
Language Guide - Structures and Classes ( #1139 )
...
* feat:添加 note,新建「并发」章节的 md 文件,修改文件顺序
* fix:删除冗余的字符串
* Revert "feat:添加 note,新建「并发」章节的 md 文件,修改文件顺序"
This reverts commit 898930b0ec .
# Conflicts:
# source/02_language_guide/18_Concurrency.md
* feat:新增 `note` 一句
* feat:新建「并发」章节 md 文件
* fix:修改 SUMMARY.md
* Update 09_Structures_And_Classes.md
Co-authored-by: Jie Liang <lj925184928@gmail.com >
2021-06-22 10:56:03 -05:00
096f2acfc4
feat: 更新链接 ( #1145 )
2021-06-22 08:51:07 -05:00
8b99054c0c
feat: 更新示例代码 ( #1144 )
2021-06-22 08:50:55 -05:00
d9d2952e85
feat:「参数名称缩写 」节第二段和第三段有更新 ( #1142 )
2021-06-21 18:54:23 -05:00
9b302e76cb
feat: 新增对 for-in 的描述 ( #1141 )
2021-06-21 10:39:22 -05:00
bb4d0c7fcd
eat: 更新代码示例 ( #1140 )
2021-06-21 09:57:01 -05:00
13c47f495d
Update 27_Advanced_Operators.md ( #1110 )
...
修正一处 typo:结核性 -> 结合性;及一处文字缺失。
2021-05-04 11:23:34 -05:00
6b38f6d7a7
Update 24_Automatic_Reference_Counting.md
2021-02-03 07:33:11 -06:00
262a06affd
Update 01_The_Basics.md ( #1106 )
...
英文原文: almost any
原中文翻译: 任何的
正确翻译: 几乎所有的
2021-01-20 22:14:39 -06:00
558814b61d
修复一处错别字 ( #1105 )
...
"字句" 应为 "子句"
2021-01-11 06:55:34 -06:00
7725dfb9ad
Update 22_Generics.md ( #1099 )
2020-12-07 07:09:08 -06:00
2e82e1621a
Fix #1095 “会”的位置错误 ( #1096 )
2020-10-25 07:27:51 -05:00
f2999daf52
Update 01_The_Basics.md ( #1090 )
...
* Update 01_The_Basics.md
* Update 01_The_Basics.md
Co-authored-by: Jie Liang <lj925184928@gmail.com >
2020-10-05 08:37:33 -05:00
83500eba22
fix wrong links, fix #1086
2020-07-15 20:55:11 -05:00
be7dca4e18
Update 10_Properties.md
2020-07-15 11:00:24 -05:00
72cb5a61b8
Advanced_Operators Swift 5.3 beata ( #1083 )
2020-07-07 11:32:34 -05:00