tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
6.9k stars 351 forks source link

dev: Migrate Easydict to Swift 6 #649

Open Jerry23011 opened 3 weeks ago

Jerry23011 commented 3 weeks ago

Since Apple released Swift 6 on WWDC24, we can try migrating Easydict to the new language mode after Xcode 16's release. This can may help prevent issues that are hard to debug or reproduce like #622

Looking at the number of warnings after turning on strict concurrency checking under Xcode 15, there will be quite a lot of things to do. We would also need to wait for some packages to migrate.

截屏2024-08-18 15 21 48

https://www.swift.org/migration/documentation/migrationguide/

tisfeng commented 3 weeks ago

ok, this might be a big project. Let's push it after Xcode 16 is officially released.