13 報

Share this post

開發者週報 #129 我是覺得有點卡

www.ethanhuang13.com

開發者週報 #129 我是覺得有點卡

Apple/iOS 開發者的一週大小事 2022/02/14-2022/02/20

13
Feb 20, 2022
1
Share this post

開發者週報 #129 我是覺得有點卡

www.ethanhuang13.com

13的話

天氣冷到不知道要說什麼了🌚

(看前一期 · 回首頁)


🧪iOS 15.4 Beta 3 & Xcode 13.3 Beta

Release notes 建議要讀。

  • macOS Monterey 12.3 Beta 3

  • iOS 15.4 Beta 3

  • watchOS 8.5 Beta 3

  • tvOS 15.4 Beta 3

  • Xcode 13.3 Beta 2 本週沒更新

🤔Apple SSD 速度之謎

推文串還滿長的。你需要知道的是,斷電的時候,資料有可能還未寫入。有電池的電腦像是 MacBook Air / Pro 不太需要擔心。但 Mac mini / iMac 就...

Twitter avatar for @marcan42
Hector Martin @marcan42
Well, this is unfortunate. It turns out Apple's custom NVMe drives are amazingly fast - if you don't care about data integrity. If you do, they drop down to HDD performance. Thread.
7:35 AM ∙ Feb 17, 2022
5,579Likes1,692Retweets
Twitter avatar for @marcan42
Hector Martin @marcan42
Uh, guys? I'm not saying "the machines are only fast because they cheat on data durability". I'm saying there's a stupid, unfortunate performance bug when you *do* want durability that most people won't notice because macOS gives you poor durability by default.
12:50 PM ∙ Feb 17, 2022
366Likes27Retweets

🤪Random Tweets

2/14 這個節日是

Twitter avatar for @h0wardch3ng
𝐠𝐧𝐞𝐡𝐜𝐝𝐫𝐚𝐰𝐨𝐡👁️⃤ @h0wardch3ng
1946年2月14日,世界上第一台通用计算机ENIAC在美国宾夕法尼亚大学诞生,请在这个特殊的节日多陪陪你的电脑
Image
10:02 PM ∙ Feb 13, 2022
1,302Likes283Retweets

SwiftUI 火力展示

Twitter avatar for @johnsundell
John Sundell @johnsundell
This entire game scene is actually one big SwiftUI view hierarchy! 😀 Hundreds of views, many of them animated, all rendering at a smooth 60 FPS on Mac, iPad and iPhone (even on my iPhone X), with 90+% code sharing across platforms! 🚀 Love how versatile and fast SwiftUI is 👍
Screenshot of a game scene built using SwiftUI
4:19 PM ∙ Feb 13, 2022
919Likes81Retweets
Twitter avatar for @johnsundell
John Sundell @johnsundell
Here's a quick video showing the game running on an iPhone X. Really smooth overall, and this is on a 4+ year old device, and I haven't done almost any performance optimization work yet 😀 SwiftUI continues to impress me!
5:04 PM ∙ Feb 13, 2022
224Likes17Retweets

Live Text 在 Safari 的實作

Twitter avatar for @WildCat_io
WildCat @WildCat_io
How #LiveText is implemented in Safari? Besides Apple's OCR algorithms, the text is basically implemented using #ShadowDOM and CSS Transform. github.com/WebKit/WebKit/… Front-end tech still rocks, even for #APPL.
Image
3:08 PM ∙ Feb 14, 2022
18Likes5Retweets

上週的讀者回應(不是)

Twitter avatar for @zonble
zonble 🍺 ゾンビル @zonble
我不覺得蘋果的 VR 裝置是眼鏡之類的東西,應該是大腦直接植入晶片的那種。
4:49 AM ∙ Feb 15, 2022
7Likes1Retweet

iOS 15 的新 .background modifier 可設定 ShapeStyle

Twitter avatar for @tgrapperon
Thomas Grapperon @tgrapperon
PSA: If you want to get "automatic" vibrancy when setting `.foregroundStyle` to `.secondary` over a `Material` in SwiftUI, you *need* to use the new `.background` modifiers from iOS 15 to draw the background. Otherwise, you'll only get a flat color. #SwiftUI
Screen capture of a SwiftUI preview showing that new iOS 15 API's for background should be used to make the overlaid content vibrant.
1:28 AM ∙ Feb 17, 2022
76Likes12Retweets

我覺得這知識挺實用的呀。這樣就知道為何 SwiftUI 的 state 不需要 Equatable。

Twitter avatar for @PofatTseng
Pofat @PofatTseng
#TIL: SwiftUI 比較 view 時首先嘗試比較 memory #不知道也無妨的知識
Twitter avatar for @jckarter
Joe Groff @jckarter
@Dimillian @anandabits It tries `memcmp` first, because all Swift values should be identical if they compare equal bitwise. It does fall back to Equatable if available
10:09 AM ∙ Feb 18, 2022
16Likes3Retweets

🤝社群活動

  • CocoaHeads Taipei 2/17 活動錄影

💼職缺/履歷交流區

  • Ubiquiti Inc. (UI) Android Developer

  • FunNow

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

Share this post

開發者週報 #129 我是覺得有點卡

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