# 后续拓展

LLMS index: [llms.txt](/wikis/llms.txt)

---

## 语言设计相关

下面是一些与 Swift 语言设计的发展及其中的思想相关的内容：

- [Swift 中的面向协议编程](https://developer.apple.com/videos/play/wwdc2015/408/)：WWDC 中官方对于 Swift 中 POP 思想的介绍
- [Swift 语言进化文档](https://github.com/apple/swift-evolution)：记录了 Swift 发展过程中的提议及其背后的想法

## 更多语法知识

前面介绍的是 Swift 的主要语法知识。不过，在实际开发中可能会遇到或者需要使用更加高级的语法，限于篇幅无法展开，可以通过下面的资源进行学习：

- [错误处理](https://docs.swift.org/swift-book/LanguageGuide/ErrorHandling.html)
- [并发](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html)
- [下标重载](https://docs.swift.org/swift-book/LanguageGuide/Subscripts.html)
- [引用计数](https://docs.swift.org/swift-book/LanguageGuide/AutomaticReferenceCounting.html)
- [内存安全](https://docs.swift.org/swift-book/LanguageGuide/MemorySafety.html)
- [高级运算符](https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html)

以下语法知识在 SwiftUI 中非常重要（基本上就是为了 SwiftUI 而设计的）：

- [Property Wrapper](https://docs.swift.org/swift-book/LanguageGuide/Properties.html#ID617)
- [Opaque Types](https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html)
- [Result Builder](https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID630)

以上内容均来自于 [Swift 官方教程](https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html)。

作为主要用于 iOS 等平台应用开发的语言，Swift 的很多语法都是为了解决开发的问题而设计的。因此，只有真正上手应用开发，在开发中不断遇到问题、解决问题，才能真正掌握 Swift 语言。
