13 報

Share this post

開發者週報 #178 嗨,黃色!

www.ethanhuang13.com

開發者週報 #178 嗨,黃色!

Apple/iOS 開發者的一週大小事 2023/03/06-2023/03/12

13
Mar 12
Share this post

開發者週報 #178 嗨,黃色!

www.ethanhuang13.com

13的話

春天到了,應該是 iOS 開發者跟使用者最舒適的季節。Apple 會推出一些讓人驚喜的小功能、iOS 版本跟 Xcode 通常在這個時候最穩定,至少沒有太多新東西要學習的壓力🥹

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

(看前一期 · 回首頁)


🧪Apple Releases

  • Xcode 14.3 Beta 2(14E5207e) 這週沒更新。支援以下作業系統

  • iOS 16.4 Beta 3(20E5229e)

  • macOS 13.3 Beta 3(22E5236f)

  • watchOS 9.4 Beta 3(20T5239f)

  • tvOS 16.4 Beta 3(20L5480g)

🆕What's new in Swift 5.8──Paul Hudson

等一下,你開頭不是才說,沒有太多新東西要學,怎麼 Swift 新版就來了🥲

嗯,這版會跟著 Xcode 14.3 一起推出,內容真的不算多啦。

💛嗨,黃色!Apple 推出新款 iPhone 14 和 iPhone 14 Plus

這個新顏色讓我想起 iPhone 5c。

🎼Apple Music Classical

Apple 還沒有發官方新聞稿,只有在推特上宣布而已:

Twitter avatar for @AppleClassical
Apple Music Classical @AppleClassical
Introducing Apple Music Classical, the new app designed specifically for classical music. Pre-order today on the @AppStore. apple.co/AppleMusicClas…
3:22 PM ∙ Mar 9, 2023
3,193Likes892Retweets

古典音樂的聆聽需求跟其他音樂滿不一樣的。比如說曲名通常很長,要捲很久才會看到是第幾樂章。播放的順序也是。通常不會是單曲隨機播放。推薦的單位用曲子就不如整張專輯。

這位前 Apple 員工提出好些值得一看的觀點:

Twitter avatar for @jessiechar
Jessie Char @jessiechar
As a classically trained cellist, composer, former Apple employee, and CEO of a design studio that specialized in icon and UI design, I am ~uniquely qualified~ to comment on the Apple Music Classical app.
1:12 AM ∙ Mar 11, 2023
7,097Likes764Retweets
Twitter avatar for @jessiechar
Jessie Char @jessiechar
Now here’s The Nutcracker. The composer is in the album title, the performer and conductor are listed as the artists, each track has a byline for the conductor, and while all 17 tracks are unique you can’t see the bit that sets them apart. And the play preview displays even less.
Image
2:10 AM ∙ Mar 11, 2023
980Likes24Retweets

我還滿高興 Apple 為了提供更好的體驗,而把古典音樂獨立成一個 app。曲目也還是能在 Music app 裡面找到跟播放。功能細節就等正式 3/28 正式推出再研究。

💰App Store pricing upgrades have expanded to all purchase types

去年 12 月 Apple 宣布的全新定價功能,在這週開放給所有 App Store 商品。現在,不管是 app 還是 IAP,都有更彈性的定價規則。尤其是能針對地區可以不同訂定價格,以適應市場差異。

預計 5/9 會再推出依照匯率自動調整的全球定價加強功能。

🤝App Store Connect API 2.3

既然 App Store 有新的定價機制,API 當然也要更新了。

📦Introducing Swift Certificates and Swift ASN.1

Swift 官方公告新的 packages。

  • Swift Certificates: A library for working with X.509 certificates.

  • Swift ASN.1: An implementation of ASN.1 types and DER serialization.

看到 ASN.1 我笑出來了,5 年前我寫過一個 library 就為了處理這東西。不過寫出來以後完全沒拿來用🤪

🛠️手工打造 HTML 解析器的那些事──ZhgChgLi

因為公司的資料已經大量用 HTML,所以 iOS 需要轉成 NSAttributedString 來顯示只好自己想辦法的故事。

警告,文章非常長。原始碼在此。

🤝社群活動

  • CocoaHeads Taipei 2023 年 3 月錄影。分享的題目有:「用 ChatGPT 串接 ChatGPT」、「SharePlay」、「String Interpolation」

🤪Random Tweets

解決 Universal Links 問題的過程。

讓我想到也是幾年前寫的開源 app,可以用來實測 Universal Links。對於這個案例沒有用就是了。

Twitter avatar for @johnnie_tseng
Johnny @johnnie_tseng
下午協助同事解決一個問題 雖然不是什麼真・技術問題,不過繞了好大一圈 決定記錄一下解決過程 & 思路。 問題: .well-known 底下已經放了 apple-app-site-association,用 mode=developer 繞過 Apple CDN 可正常跳轉到 App。但是架上版卻壞掉,無法正常透過 Universal link 跳轉到 app
Image
1:54 PM ∙ Mar 9, 2023
73Likes12Retweets

最近冒出各種沒什麼實用性,但是好玩的 UI。

Twitter avatar for @alexwidua
Alex Widua @alexwidua
I’ve built a *very* shiny button 🫳🪩
6:29 PM ∙ Mar 1, 2023
77,209Likes6,419Retweets
Twitter avatar for @jsngr
jordan singer @jsngr
i built a reflective ui 🪩
3:41 PM ∙ Mar 5, 2023
28,283Likes2,027Retweets
Twitter avatar for @MengTo
Meng To @MengTo
Translucent UI using the back camera
8:51 PM ∙ Mar 5, 2023
1,633Likes86Retweets
Twitter avatar for @theShaneLevine
Shane Levine @theShaneLevine
Spotify reflective CD mix
3:26 AM ∙ Mar 6, 2023
9,404Likes702Retweets

手機螢幕下的超音波指紋解鎖已經可以做到這麼快速了!

Twitter avatar for @MKBHD
Marques Brownlee @MKBHD
For a secure ultrasonic fingerprint reader, VIVO is finally taking the step up 👀
1:53 PM ∙ Mar 6, 2023
15,792Likes780Retweets

這點子真棒,用來看 Apple Maps 裡的 3D 模型。作者說到時候會免費上架。

Twitter avatar for @andre8aev
André Baev @andre8aev
Currently working on a simple app featuring all of Apple's 300+ Detailed City Experience 3D models currently available in Maps. The curated collection will be updated as new models appear. All landmarks are animated, and you can control the camera by tilting your device, too!
Image
9:00 PM ∙ Mar 8, 2023
1,736Likes79Retweets

哇,有人在 MacBook Pro 上把大型語言模型跑起來了。

Twitter avatar for @simonw
Simon Willison @simonw
Notes on how I ran Facebook's 7B LLaMA model on my 64GB M2 MacBook Pro using llama.cpp by @ggerganov It's genuinely possible to run a LLM that's hinting towards the performance of GPT3 on your own hardware now! I thought that was still a few years away
til.simonwillison.netRunning LLaMA 7B and 13B on a 64GB M2 MacBook Pro with llama.cppSee also: **[Large language models are having their Stable Diffusion moment right now](https://simonwillison.net/2023/Mar/11/llama/)**. Facebook’s [LLaMA](https://research.facebook.com/publications/l
4:25 AM ∙ Mar 11, 2023
1,277Likes218Retweets

最後是各種傷害篇:

Twitter avatar for @BuganiniQ
ا(تٌ)ا┻━┻ @BuganiniQ
沒想到 2023 年的 google play console 比 app store connect 還難用
9:13 PM ∙ Mar 8, 2023
Twitter avatar for @lexrus
Lex Tang @lexrus
每次 Xcode 编译时捏一捏,半年了,现在感觉 60kg 太轻
Image
6:21 AM ∙ Mar 10, 2023
197Likes11Retweets
Twitter avatar for @Snowchimp_Dev
Darren | Snowchimp Interactive @Snowchimp_Dev
Stumbled across this and had a good laugh 🤣
Image
4:17 AM ∙ Mar 9, 2023
477Likes38Retweets
Twitter avatar for @PofatTseng
Pofat @PofatTseng
一回來就被炸爆,我亡了
3:08 PM ∙ Mar 10, 2023
Twitter avatar for @lexrus
Lex Tang @lexrus
遗像它自己更新了😇
Image
1:18 AM ∙ Mar 12, 2023
44Likes5Retweets

說到 Tweetbot,如果你的訂閱還沒有結束,可以在 app 內選擇把訂閱期間轉移到 Ivory for iOS,或是選擇不退費來支持開發者。

Twitter avatar for @iRalph13
iRalph 🐘 @iRalph13
Loved Tweetbot… even when I got frustrated, I always went back. The addiction will continue to Ivory.
Image
Image
7:26 AM ∙ Mar 7, 2023

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

Share this post

開發者週報 #178 嗨,黃色!

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