13 報

Share this post

開發者週報 #164 Job Security Bounty

www.ethanhuang13.com

開發者週報 #164 Job Security Bounty

Apple/iOS 開發者的一週大小事 2022/11/07-2022/11/13

13
Nov 13, 2022
2
Share this post

開發者週報 #164 Job Security Bounty

www.ethanhuang13.com

13的話

近期許多大廠都在裁員。讓我想到高中導師給我印象最深刻的一句話:「301(他喜歡用班號稱呼我們),人才到哪裡都是人才。」

如果你有受到影響的話,相信可以順利度過這關的。

我現在服務的公司還在台灣大舉招募人才,各種職缺都有,而且我覺得做的東西既有趣又有挑戰性,待遇也沒在客氣的。有興趣的朋友可以直接回信聊聊。

我下週請假,會停刊一次。

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

(看前一期 · 回首頁)


🧪Apple Releases

本週 Apple 推出以下軟體更新:

  • iOS & iPadOS 16.2 Beta 2 (20C5043e) and 16.1.1 (20B101)

  • macOS 13.1 Beta 2 (22C5044e) and 13.0.1 (22A400)

  • watchOS 9.2 Beta 2 (20S5342d)

  • tvOS 16.2 Beta 2 (20K5342d)

🙋Ask Apple

新一輪 Ask Apple 正在進行中。

除此之外,Apple 的上海設計開發加速器也有不少線上活動。至少要提前一天報名。

  • 11/29 核心设计原理

  • 12/6 如何在游戏中支持手柄

  • 12/8 在 iPhone 锁屏上扩展你的 App 体验

  • 12/20 优化您的 Xcode Cloud 工作流程

  • 12/22 通过 Metal 在 Apple GPU 上渲染

🔭A vision for variadic generics in Swift

許多 SwiftUI 使用者都知道 @ViewBuilder 只能放 10 個 view,而且是透過 hard-coded 1~10 個 view 版本的 overloading😂

顯然是個 workaround,看起來、用起來都有些無奈。

要真正解決這個問題,就需要語言本身支援 variadic generics,也就是本提案的重點。

⏳Swift 5.7 / Xcode 14 incremental build time 10x slower than Swift 5.6 / Xcode 13

如果有覺得 Xcode 14 比較慢的話,可以試試看。

Twitter avatar for @tclementdev
Thomas @tclementdev
If you have build time issues with Xcode 14. "We've just tried SWIFT_USE_INTEGRATED_DRIVER=NO in all our targets and it massively brings down incremental compile times!"
forums.swift.orgSwift 5.7 / Xcode 14 incremental build time 10x slower than Swift 5.6 / Xcode 13We’ve just tried SWIFT_USE_INTEGRATED_DRIVER=NO in all our targets and it massively brings down incremental compile times!
12:08 PM ∙ Nov 9, 2022
25Likes4Retweets

🧽How Xcode 14 unintentionally increases app size

不少 app 改用 Xcode 14 打包之後都肥了超大一圈,確認一下你的有沒有受影響吧。

🆕iOS 16.1 Live Activities 快速上手教學—Canry334

一個新的中文 iOS blog,寫得還不錯。

  • 上篇

  • 下篇

🍁Maple Diffusion Swift Package

離線的 AI 圖片產生器,只要一個 Swift Package 就可以開始玩了。而且速度挺不賴的。

Twitter avatar for @mortenjust
Morten Just @mortenjust
What if you could add Stable Diffusion in one line of code in a native iOS or Mac app?
Image
Image
2:45 PM ∙ Nov 8, 2022
292Likes36Retweets
Twitter avatar for @mortenjust
Morten Just @mortenjust
It's fully offline and native (via Metal). Here's a full app, including UI. You can see the image being generated realtime behind the blur.
2:45 PM ∙ Nov 8, 2022
79Likes3Retweets
Twitter avatar for @mortenjust
Morten Just @mortenjust
It's faster than any local offline method I've tried; 2x PyTorch, giving me ~0.3 it/sec = 6 seconds You can play with the Swift Package here - it wraps @madebyollin's MPSGraph implementation of the pipeline (link in repo)
github.comGitHub - mortenjust/maple-diffusion: Stable Diffusion inference on iOS / macOS using MPSGraphStable Diffusion inference on iOS / macOS using MPSGraph - GitHub - mortenjust/maple-diffusion: Stable Diffusion inference on iOS / macOS using MPSGraph
2:45 PM ∙ Nov 8, 2022
59Likes3Retweets

🤪Random Tweets

Twitter avatar for @soozinbird
Susan Lee Neth @soozinbird
#sad
Image
12:33 AM ∙ Nov 7, 2022
2,857Likes185Retweets
Twitter avatar for @ychoplipe
墜入凡間的美少年 @ychoplipe
「我不會」是「薪水不夠所以我不會」的簡寫
1:36 AM ∙ Nov 7, 2022
3,148Likes383Retweets

Apple 的 VR/AR 相關技術可能會打造出怎樣的產品跟使用者體驗,相信有在用心觀察的人,都可以想像出很多東西。這個 Twitter thread 列舉了不少,值得一讀。

Twitter avatar for @hrafntho
Hrafn Thorisson @hrafntho
What we know so far about Apple’s VR/AR plans and headsets (THREAD). More than summarize facts, my aim is to paint a picture of what Apple’s platform may be, from perspective of an industry veteran with +10 year experience and a successful VR/AR company focused on innovation.
Image
9:58 AM ∙ Nov 10, 2022
2,676Likes521Retweets
Twitter avatar for @ios_memes
a meme page to check while Xcode is indexing files @ios_memes
POV: you tried something fancy in your code and now there's a crash in production
12:33 PM ∙ Nov 10, 2022
221Likes22Retweets

我看了這推才知道 SwiftUI 從 iOS 15 就有 .safeAreaInset 可以放東西,是很實用的排版方式。(文章版)

Twitter avatar for @natpanferova
Natalia Panferova @natpanferova
If we need to permanently pin a view to the bottom of the screen in SwiftUI, we can place it inside safeAreaInset(edge: .bottom) modifier. If we use this method with a text field, it will also automatically move to the top of the keyboard when focused.
Screenshot of code with a TextField placed inside safeAreaInset() modifier and sample app where the text field is pinned to the bottom of the screen and the top of the keyboard.
12:04 PM ∙ Nov 10, 2022
949Likes99Retweets

每次看 David Smith 在實驗一些效果在 watchOS 上都覺得他好享受。

Twitter avatar for @_DavidSmith
David Smith @_DavidSmith
Is there a more productive way to spend my morning than digging out my old high school physics equations to build a SwiftUI rain drop simulator so that the droplets can accurately bounce off the clock hands? Almost Certainly. Is there a more fun way to spend my morning? Nope! 😁
4:05 PM ∙ Nov 11, 2022
1,118Likes64Retweets

看到 Fastlane 已經整合 xcodes 所以轉推。

Twitter avatar for @FastlaneTools
fastlane @FastlaneTools
[fastlane] 2.211.0 📱 Support for more phone sizes in deliver ✅ Now using Xcodes app for checking and installing versions of Xcode 💪 Match can now use Apple Silicon Macs in iOS/iPadOS profiles 🚀 New spaceship APIs for interacting with resolution center … and more!
Image
10:40 PM ∙ Nov 12, 2022
65Likes10Retweets

💼職缺/履歷交流區

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


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

Share this post

開發者週報 #164 Job Security Bounty

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