13 報

Share this post

開發者週報 #175 Swift 5.8 & iOS 16.4 Beta

www.ethanhuang13.com

開發者週報 #175 Swift 5.8 & iOS 16.4 Beta

Apple/iOS 開發者的一週大小事 2023/02/13-2023/02/19

13
Feb 19
2
Share this post

開發者週報 #175 Swift 5.8 & iOS 16.4 Beta

www.ethanhuang13.com

13的話

這週 Apple 官方的消息頗多,尤其是 .4 版本的 iOS,向來都是大版本之間最重要的版號。

另外,MacBook Pro M2、Mac mini M2 / M2 Pro 等機型已經通過台灣 NCC 認證。想買的朋友最近可以留意一下。

請訂閱 Patreon 來支持我的電子報🙏

(看前一期 · 回首頁)


🧪Apple Releases

這版 beta 有很多重要東西。包括 Swift 5.8、SwiftUI、Authentication 服務的新功能、支援 Unicode 15 的 emoji 等等。快速用眼睛掃過一遍 release notes 吧!

  • Xcode 14.3 Beta (14E5197f) 支援以下作業系統

  • iOS 16.4 Beta (20E5212f)

  • macOS 13.3 Beta (22E5219e)

  • watchOS 9.4 Beta (20T5222g)

  • tvOS 16.4 Beta (20L5463g)

SwiftUI Preview 可以直接 print 到 console 了。

Twitter avatar for @SwiftyAlex
alex 🌚 @SwiftyAlex
In Xcode 14.3 you can now see the output from your previews in the console! Just select the new previews button and you’ll see every print 🤯 Combine this with _printChanges() and you can debug views without running your app 🕵🏼
Image
4:58 PM ∙ Feb 18, 2023
188Likes23Retweets

XCTest 多了測 async function 時的提醒。

Twitter avatar for @grynspan
Jonathan Grynspan (@grynspan@hachyderm.io) @grynspan
New in Xcode 14.3: if you're using XCTestExpectation or XCTWaiter from an async Swift function, you'll get warnings when using wait(for:timeout:) because that synchronous function may deadlock. Switch to fulfillment(of:) instead for maximum Swiftiness!
developer.apple.comApple Developer Documentation
4:06 AM ∙ Feb 17, 2023
4Likes4Retweets

從這版開始,裝置有登入開發者帳號的話,會直接看到下載 Beta 版 iOS 的選項,就不用再安裝 profile 了。請參考 Release Notes 的 101692915 項目。

Twitter avatar for @iDeviceHelpus
iDeviceHelp @iDeviceHelpus
No more betas profile. Option directly integrated into iOS.
Image
6:47 PM ∙ Feb 16, 2023
1,648Likes115Retweets

還有我閱讀 Xcode Release Notes 時隨手截的幾張圖,供參考。

Twitter avatar for @ethanhuang13
13 @ethanhuang13
There are a lot of updates in Xcode 14.3.
Image
Image
Image
Twitter avatar for @xcodesapp
Xcodes @xcodesapp
Xcode 14.3 Beta is now available to download 🎉 Release notes: https://t.co/2VV8YNr3Kc
2:37 AM ∙ Feb 17, 2023
8Likes1Retweet

🧭Web Push for Web Apps on iOS and iPadOS

隨著 iOS 16.4 beta 與 macOS 13.3 beta 一起推出的是對瀏覽器相關技術的超大更新:135 項功能,其中最重要的是支援 web push,被加到主畫面的 web app 以後能夠接收從網站來的通知了,甚至 badge 的數字也可以更新。

值得注意的是,第三方瀏覽器也支援增加 web app 到主畫面,同樣也支援 web push。

📕“The Swift Programming Language” book now published with DocC

Swift 官方「課本」改用 DocC 來發布,使得協作與更新更容易了。

🪟Microsoft to support Windows 11 on Apple M1 and M2 Macs through Parallels partnership──The Verge

微軟不愧是最佳開發者。害我這個用不到的人都想去買套 PD18 了。

官方支援文件在此:Options for using Windows 11 with Mac® computers with Apple® M1® and M2™ chips。

🤪Random Tweets

Twitter avatar for @v_pradeilles
Vincent Pradeilles @v_pradeilles
Image
5:28 PM ∙ Feb 15, 2023
209Likes26Retweets
Twitter avatar for @zhgchgli
ZhgChgLi @zhgchgli
XCode 根本是 iOS 開發者的新人殺手 - 時不時閃退 - 時不時卡一下 - 時不時 Build Failed,要手動刪 Cache+重開 - 同時開多個專案會互相影響(神秘)
Image
12:55 AM ∙ Feb 18, 2023
69Likes9Retweets
Twitter avatar for @_r3ggi
Wojciech Reguła @_r3ggi
A gift from @Apple Product Security 🤩
Image
6:39 PM ∙ Feb 14, 2023
749Likes27Retweets
Twitter avatar for @FloWritesCode
Flo writes Code @FloWritesCode
Credit: u/sourcelocation in r/swift on Reddit.
Image
3:30 PM ∙ Feb 19, 2023
58Likes10Retweets

🤝社群活動

  • iOS Conf SG 2023 錄影:上上週放出來的,滿多不錯的內容,所以這期補上

💼職缺/履歷交流區

  • 富果帳戶:Senior iOS Engineer 軟體開發工程師(Flutter)

如果你有 iOS 相關職缺或是求職履歷想要刊登在開發者週報,請見關於。


🙏支持 13 寫作,請訂閱我的 Patreon。也歡迎按喜歡❤️、留言💬、回信✉️與我交流。

Share this post

開發者週報 #175 Swift 5.8 & iOS 16.4 Beta

www.ethanhuang13.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 ethanhuang13
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing