13 報

Share this post

開發者週報 #177 表妹

www.ethanhuang13.com

開發者週報 #177 表妹

Apple/iOS 開發者的一週大小事 2023/03/01-2023/03/05

13
Mar 5
Share this post

開發者週報 #177 表妹

www.ethanhuang13.com

13的話

上一期延後到連假結束才出刊,所以這週的內容就少了 2 天的份量。重點就是要把 Beta 2 Release Notes 掃過一遍囉。

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

(看前一期 · 回首頁)


🧪Apple Releases

果不其然上一期週報(週二發刊)截稿的半夜 Beta 2 推出了。

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

  • iOS 16.4 Beta 2(20E5223e)

  • macOS 13.3 Beta 2(22E5230e)

  • watchOS 9.4 Beta 2(20T5233d)

  • tvOS 16.4 Beta 2(20L5474e)

📊Peer group benchmarks now available in App Analytics

App Store 官方的行銷工具花樣更多了。

📜StateObject

Apple 近期更新了 SwiftUI 中 StateObject 的文件。

Twitter avatar for @luka_bernardi
Luca Bernardi @luka_bernardi
You'll find a better explanation around how to initialize a StateObject with external data with few words around what to pay attention when doing so (developer.apple.com/documentation/…)
developer.apple.comStateObject | Apple Developer DocumentationA property wrapper type that instantiates an observable object.
4:09 PM ∙ Mar 1, 2023
107Likes29Retweets

拿來跟舊版稍微比較了一下,清楚不少。

比如第一段裡,新版增加的部分我標了粗體。

Use a state object as the single source of truth for a reference type that you store in a view hierarchy. Create a state object in an App, Scene, or View by applying the @StateObject attribute to a property declaration and providing an initial value that conforms to the ObservableObject protocol. Declare state objects as private to prevent setting them from a memberwise initializer, which can conflict with the storage management that SwiftUI provides.

🙋‍♀️CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter

這幾天在推特上比較熱門的 iOS 開發話題,是這個名稱超長的 API。

說穿了也沒什麼,Apple 的 Contacts framework 有提供稱謂的欄位。英文沒有一個詞專門指「表妹」此一概念,所以只好用這麼長的名稱。

Twitter avatar for @aarabianprincee
Anas Ben Mustafa @aarabianprincee
Who the hell named that, Apple?💀💀😅
Image
2:42 PM ∙ Feb 28, 2023
368Likes41Retweets

其實我幾年前就在推特看過人們在討論了(iOS 13 開始有的 API),想不到又被翻出來。

底下還有一狗票 label,有興趣可以慢慢看。

🪟用 SwiftUI 的方式进行布局──fatbobman

每每刊登肘子哥的文章我都有點猶豫,因為太常出現在週報了。但另一方面,你還能找到更好的中文 SwiftUI 文章嗎?

🤪Random Tweets

從善如流?

Twitter avatar for @tualatrix
TualatriX @tualatrix
Apple 难得又听用户的意见了,iOS 16.4 的 Book 带回了翻页动画。
Image
5:17 AM ∙ Mar 1, 2023
62Likes5Retweets

解釋「二月小」造成的 IAP 訂閱收入變化。

Twitter avatar for @RevenueCat
RevenueCat @RevenueCat
Did you notice a big spike in revenue and/or churn yesterday, February 28th? You weren't alone, and we're here to shed some light on why so many developers celebrate, but also fear, “Mobile Subs Day”. 🧵
10:11 PM ∙ Mar 1, 2023
40Likes10Retweets

13 的週報也是純手工的喔🤪

Twitter avatar for @Blankwonder
Yachen Liu @Blankwonder
也许以后 App 可以以纯手工编写 written by hand without AI 作为卖点… https://t.co/mzDlyqrbS4
7:23 AM ∙ Mar 3, 2023
83Likes6Retweets

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

Share this post

開發者週報 #177 表妹

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