Compare commits

..

2 Commits

Author SHA1 Message Date
7beafa4668 feat: update sweetpad configuration 2025-05-16 13:31:29 +08:00
e2bba77d73 feat: 添加新 Swift 文章 2025-05-15 10:03:46 +08:00
2 changed files with 17 additions and 1 deletions

View File

@ -85,7 +85,7 @@ footer:
owner: owner:
enable: true enable: true
since: 2022 since: 2022
custom_text: Wirtten with Love ❤<br><a href="https://beian.miit.gov.cn/" target="_blank">粤ICP备2021153594号-2</a> custom_text: Wirtten with Love ❤
copyright: true copyright: true
aside: aside:

View File

@ -0,0 +1,16 @@
---
title: Swift 学习笔记 - Opaque Type 和 Boxed Type
date: 2025-05-14 13:10:06
tags:
- Swift
- iOS
- 编程语言
categories:
- 技术
---
## 背景
在学习 Swift 语法的过程中,参考着 [Opaque and Boxed Protocol Types](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/opaquetypes/) 这一官方文档过了一遍关于 Opaque Type 和 Boxed Type 的定义和使用场景
但是在编写