feat: 添加新 Swift 文章

This commit is contained in:
Linloir 2025-05-15 10:03:46 +08:00
parent 2266091d11
commit e2bba77d73
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,28 @@
---
title: Swift 学习笔记 - 配置 VS Code 开发 Flutter iOS Native 代码
date: 2025-05-15 09:53:53
tags:
- Swift
- iOS
- Flutter
- 编程语言
categories:
- 技术
---
## 背景
这段时间学 Swift 就冲着一个 iOS 开发来的,这学完了必须给环境整上,虽然说 VS Code 和 XCode 搭配着用也没什么不好的,毕竟开发过程中再怎么也没法避免打开 XCode 的过程 (比如配置开发者签名之类的),但是能够写码时全程不离开当前 IDE 终归还是让人感觉会舒服很多,遂研究如何在 VS Code 中配置 Swift 开发环境以及正常开发 Flutter/ios 项目
## 配置 Swift 插件
## No such module 'Flutter'
### 安装 SweetPad
### 安装 xcode-build-server
### 生成 buildServer.json

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 的定义和使用场景
但是在编写