13 報

Share this post

開發者週報 #38 人生不一定有答案

www.ethanhuang13.com

開發者週報 #38 人生不一定有答案

Apple/iOS 開發者的一週大小事 2020/04/27-2020/05/03

13
May 3, 2020
Share this post

開發者週報 #38 人生不一定有答案

www.ethanhuang13.com

13的話

其實我滿好奇的,每當你打開信箱看到這份週報的時候,是不是會想著「X 的,又是星期一。」😂

(看前一期 · 回首頁)


 ExposureNotification Framework

這就是原本命名為 Contact Tracing 的東西,現在改成一個對一般使用者而言比較好懂得名稱。隨著 iOS 13.5 beta 一起發布。開發者需要特別的 entitlements 才能使用這個 API。

使用者介面如下:

Twitter avatar for @_inside
Guilherme Rambo @_inside
Here’s what happens when an app requests your permission to collect temporary keys for exposure detection or reporting.
Image
7:25 PM ∙ Apr 29, 2020
443Likes114Retweets
Twitter avatar for @_inside
Guilherme Rambo @_inside
The app then shows up under Settings > Privacy > Health > COVID-19 Exposure Notifications
Image
7:26 PM ∙ Apr 29, 2020
107Likes28Retweets
Twitter avatar for @_inside
Guilherme Rambo @_inside
Even after an app is authorized to send you exposure notifications, you still need to give it a separate authorization if it wants to get your diagnosis keys.
Image
7:34 PM ∙ Apr 29, 2020
142Likes25Retweets

📷Halide 對 iPhone SE 單鏡頭相機系統的分析

有別於同樣是單鏡頭的 iPhone XR,SE 的基本上是完全用機器學習的方式來產生景深資訊,你可以拿它拍其他照片測試效果。

少数派有翻譯成簡中。

📖SwiftUI 编程思想

objc.io 的新書 Thinking in SwiftUI 已翻成簡中。

Twitter avatar for @onevcat
onevcat @onevcat
和 objc.io 合作的《SwiftUI 编程思想》中文译本终于完成了~我个人十分推荐这本书,它非常细致地讲解了SwiftUI中原理性质的东西。对于已经有 UIKit 经验,甚至是一点点 SwiftUI 经验(完成了Apple教程的程度就可以)的开发者来说会是很大助力 objccn.io/products/think…
Image
2:51 AM ∙ Apr 27, 2020
275Likes75Retweets

🌎try! Swift World

改成線上收費 workshop,一場只有 10 個名額,每次 50 美金。

⚠️Mac sandbox escape

開發者 Jeff Johnson 公告了他發現的 Mac 安全漏洞。顯然 Apple 認為這不算是個漏洞。你自己判斷。

My sample app opens a shell script in TextEdit, and then it uses the Apple Events permission to tell TextEdit to save the file, thus removing the quarantine and allowing the script to be executed outside the app's sandbox.

🔧RocketSim—Deep Linking 測試工具

一款 Mac app,用來協助測試 iOS app 的 deep linking。

(害我想起 Knil 移植到 Mac 的事情被丟在一邊很久…)

⌨️神奇的重心

Twitter avatar for @MattVanOrmer
Matt VanOrmer @MattVanOrmer
@_chuckyc @macstoriesnet 👀👀👀
Image
11:23 PM ∙ Apr 24, 2020
89Likes13Retweets

😲幾個你可能不知道的小技巧

View Debugger 可以顯示 frame

Twitter avatar for @dasdom
dasdom @dasdom
Xcode can show the view frames in a running app? Why didn't you tell me? Holy smokes! 🤯
Image
Image
7:42 PM ∙ Apr 27, 2020
919Likes201Retweets

Storyboard 可以把元件「上鎖」

Twitter avatar for @dsteppenbeck
David Steppenbeck @ 🏠 @dsteppenbeck
I don't often use storyboards, but when I do I lock 'em to stop accidental edits. Yes, you can lock them up! Prevent those annoying changes that can occur merely by opening a storyboard!
Image
11:55 AM ∙ Apr 30, 2020
215Likes42Retweets

Apple Watch 通知中心與控制中心

Twitter avatar for @ethanhuang13
13.4 @ethanhuang13
我用了那麼久的 Apple Watch,昨天才發現在任何畫面都可以叫出「通知中心」跟「控制中心」🤯🤯🤯 support.apple.com/zh-tw/HT206951
Image
Image
4:56 PM ∙ Apr 27, 2020
9Likes1Retweet

iOS 13 才能使用的 UISearchTextField 與 UISearchToken

Twitter avatar for @ethanhuang13
13.4 @ethanhuang13
TIL UISearchTextField & UISearchToken。看圖一秒懂。僅限 iOS 13
Image
Twitter avatar for @lihenghsu
Li-Heng Hsu* @lihenghsu
TIL 有 UISearchTextField 跟 UISearchToken 這兩個東西
2:16 AM ∙ Apr 29, 2020
13Likes1Retweet

iPadOS 外接鍵盤技巧

Twitter avatar for @twostraws
Paul Hudson @twostraws
Took me a while to realise this, but: if you’re using an iPad with a keyboard attached, go to Settings > General > Keyboard and turn off Shortcuts. I rarely remove my iPad Pro from its Magic Keyboard, and that little bar just takes up unnecessary space.
9:14 AM ∙ May 2, 2020
56Likes7Retweets

如果 Xcode 找不到安裝好的 extension apps

Twitter avatar for @retsohuang
Retso Huang @retsohuang
@hanyu_chen_ios 你把 Xcode 整個關掉,然後進 Application 資料夾把 Xcode.app 改名成 Xcode1.app 再改回來試試看
5:53 AM ∙ Apr 29, 2020
2Likes1Retweet

🙄高手被打敗

Twitter avatar for @Sta_Light_
StaLight @Sta_Light_
.............
Image
3:21 PM ∙ Apr 25, 2020
17,534Likes20,035Retweets

🎙weak self podcast 35: 勞動節特輯之人生不一定有答案

三位主持人合體了!今天的遊戲規則是名詞都要翻成中文。


以上就是本期的內容。歡迎轉寄或推薦給同事或開發者朋友。有問題或回饋請直接回覆即可。

Share this post

開發者週報 #38 人生不一定有答案

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