|
1 | | -- title: "Value and Reference Types" |
2 | | - description: "This article describes the differences in behavior between _value types_ and _reference types_—a fundamental part of learning Swift and choosing between structures and classes." |
| 1 | +- title: "值类型和引用类型" |
| 2 | + description: "本文介绍了值类型和引用类型之间的行为差异—这是学习 Swift 和在结构体与类之间做选择时的基础知识。" |
3 | 3 | content_type: article |
4 | 4 | content_url: /documentation/articles/value-and-reference-types.html |
5 | 5 | thumbnail_url: #TBD |
6 | 6 | release_date: 2023-04-29 |
7 | 7 | external: false |
8 | | -- title: "Generics" |
9 | | - description: "In Swift, generics are a fundamental way to write abstract code. This video walks through the basics of Swift Generics and introducing generics into your code." |
| 8 | +- title: "泛型" |
| 9 | + description: "在 Swift 中,泛型是编写抽象代码的基本方式。这个视频介绍了 Swift 泛型的基础知识,以及如何在代码中引入泛型。" |
10 | 10 | content_type: video |
11 | 11 | content_url: https://developer.apple.com/videos/play/wwdc2022/110352/ |
12 | 12 | thumbnail_url: /assets/images/getting-started/swift-generics-thumbnail.jpg |
13 | 13 | release_date: 2021-06-09 |
14 | 14 | external: true |
15 | | -- title: "Concurrency" |
16 | | - description: "Swift has concurrency features built into the language making it easier to write concurrent code with the assistance of the compiler. This video introduces the async/await mechanism, a key part of Swift Concurrency." |
| 15 | +- title: "并发" |
| 16 | + description: "Swift 在语言层面内置了并发特性,使得在编译器的帮助下更容易编写并发代码。这个视频介绍了 async/await 机制,这是 Swift 并发的关键部分。" |
17 | 17 | content_type: video |
18 | 18 | content_url: https://developer.apple.com/videos/play/wwdc2021/10132/ |
19 | 19 | thumbnail_url: /assets/images/getting-started/meet-async-await-thumbnail.jpg |
20 | 20 | release_date: 2021-06-08 |
21 | 21 | external: true |
22 | | -- title: "Regular Expressions" |
23 | | - description: "Swift provides first-class regular expression support, commonly known as regex, for effective string processing. This video gives an overview of the power and flexibility of Swift Regex." |
| 22 | +- title: "正则表达式" |
| 23 | + description: "Swift 提供了一流的正则表达式支持(通常称为 regex),用于高效的字符串处理。这个视频概述了 Swift 正则表达式的强大功能和灵活性。" |
24 | 24 | content_type: video |
25 | 25 | content_url: https://developer.apple.com/videos/play/wwdc2022/110357/ |
26 | 26 | thumbnail_url: /assets/images/getting-started/regular-expression-thumbnail.jpg |
27 | 27 | release_date: 2022-06-07 |
28 | 28 | external: true |
29 | | -- title: "Wrapping C/C++ Library in Swift" |
30 | | - description: "This article describes how to wrap a C or C++ library in Swift." |
| 29 | +- title: "在 Swift 中封装 C/C++ 库" |
| 30 | + description: "本文介绍如何在 Swift 中封装 C 或 C++ 库。" |
31 | 31 | content_type: article |
32 | 32 | content_url: /documentation/articles/wrapping-c-cpp-library-in-swift.html |
33 | 33 | thumbnail_url: #TBD |
|
0 commit comments