13 報

Share this post

開發者週報 #95 WWDC21—No iPads were harmed in the making of this event.

www.ethanhuang13.com

開發者週報 #95 WWDC21—No iPads were harmed in the making of this event.

Apple/iOS 開發者的一週大小事 2021/06/07-2021/06/13

13
Jun 13, 2021
1
Share this post

開發者週報 #95 WWDC21—No iPads were harmed in the making of this event.

www.ethanhuang13.com

13的話

端午佳節愉快。

WWDC 這禮拜忙翻了啊~我個人的 WWDC21 session 筆記,直接發在 Twitter 上了。其實我只看了 10% 不到,沒資格說什麼是必看的。週報也不可能介紹所有的重點,但本週的 weak self podcast 聊了不少東西,十分推薦聆聽(網頁就可以播放)。

還有一點,千萬別忘了去 Apple 網站填寫本屆 WWDC 的參與問卷,你的回饋肯定會影響到後疫情時代 WWDC 的舉辦形式。

(看前一期 · 回首頁)


🎙weak self podcast 77: WWDC21 倒吃甘蔗 

相較之下,Keynote 是最不精彩的部分😂

🎬WWDC.io

認真追 WWDC 影片的朋友,我強烈推薦用這個第三方軟體。個人覺得比官方的 Developer app 好用多了。至少調整速度是可以正常運作的。至於下載的影片沒字幕,應該是官方的來源就限制了,所以一樣沒辦法。

📑重要更新文件

  • New Technologies WWDC 2021 是官方很詳細的整理,偏好文字吸收的話推薦閱讀。偏好用影片吸收當然是要看 Platforms State of Union

  • Xcode: What’s Included in Xcode, Xcode 13 Beta Release Notes, Introducing Xcode Cloud

  • iOS 15: iOS & iPadOS 15 Beta Release Notes, New features available with iOS 15

  • macOS 12: macOS 12 Beta Release Notes, New features available with macOS Monterey

  • Introducing StoreKit 2

  • WWDC21 Sample Code 包括 Challenges

  • Codeworkshop.net 的 Apple Platform SDK API Differences 雖然只有 Objective-C headers,但也是我一定會用的快速查看工具:iOS 15、macOS 12、tvOS 15、watchOS 8

  • Human Interface Guidelines Updated 包括 SF Symbols 3

Twitter avatar for @themikestern
Mike Stern @themikestern
👋SF Symbols 3 is out now! 600+ new symbols, new color rendering modes, workflow optimizations, custom symbol improvements, and more localization options! Watch #WWDC21 in the Developer app for more info. 🎨🎆 developer.apple.com/sf-symbols/
Image
7:12 PM ∙ Jun 7, 2021
1,552Likes332Retweets

📰App Store Review Guideline updates now available

大部分都是條文的澄清,但這點非常值得注意:

5.1.1(v): Apps supporting account creation must also offer account deletion.

當然 App Store 相關新功能也是很多的:What’s new for apps on the App Store

😍Xcode 13 自動完成

Xcode 的新功能不用等 app 最低支援 iOS 15 就能享受到、大大增加開發效率。太棒了所以我全放。

Twitter avatar for @twostraws
Paul Hudson @twostraws
A love letter to Xcode 13, in 5 GIFs. Part one: it will automatically import frameworks as needed. #WWDC21
Me typing in Xcode. I create a new struct and make it conform to the View protocol, and Xcode automatically adds an import for SwiftUI.
5:40 AM ∙ Jun 8, 2021
2,346Likes529Retweets
Twitter avatar for @twostraws
Paul Hudson @twostraws
Part two: it spots when you're trying to unwrap an optional and completes it for you. #WWDC21
Me typing in Xcode. I start unwrapping using "if let" and it completes the unwrap line for me.
5:41 AM ∙ Jun 8, 2021
751Likes69Retweets
Twitter avatar for @twostraws
Paul Hudson @twostraws
Part three: it's able to complete properties inside properties, making things like "view.corn" complete into "view.layer.cornerRadius". #WWDC21
Me typing in Xcode. I type some text dot corn and Xcode completes it into layer dot corner radius.
5:43 AM ∙ Jun 8, 2021
709Likes63Retweets
Twitter avatar for @twostraws
Paul Hudson @twostraws
Part four: it autocompletes all the cases for enums when you use `switch`. #WWDC21
Me typing in Xcode. I start a switch statement using an enum, and Xcode completes all the possible cases for me.
5:45 AM ∙ Jun 8, 2021
1,003Likes93Retweets
Twitter avatar for @twostraws
Paul Hudson @twostraws
And part five: when you loop over an array, it automatically completes using a singular version of the array name. #WWDC21
Me typing in Xcode. I write "for names" and Xcode realizes names is an array so it completes into for name in names.
5:47 AM ∙ Jun 8, 2021
749Likes77Retweets

還有 Xcode 設計師自己出來分享一些細節(推文串):

Twitter avatar for @edwardsanchez
Ed Sanchez @edwardsanchez
Here are some of my favorite new improvements in Xcode 13: 🧵
6:47 AM ∙ Jun 8, 2021
605Likes153Retweets

🤯 Pofat 的 Demystify SwiftUI 讀後筆記

Demystify SwiftUI 這個 session 是檢驗自己 SwiftUI 觀念是否正確的最好教材。

除了標題這篇文章外,下面是他整理 What’s New in SwiftUI 筆記推文。我就是想堆數量來表達 SwiftUI 改了多少。

Twitter avatar for @PofatTseng
Pofat @PofatTseng
I. 今年 SwiftUI 感覺滿有誠意,端出不少香香的東西,總結下 1. AsyncImage 該有的都有了(再見 SDWebImage) 2. task modifier 自動跟隨 view 的 life cycle 3. 更靈活的 list, separator and binding for each cell 4. List 有 swipe action modifier #WWDC21
developer.apple.comWhat’s new in SwiftUI - WWDC 2021 - Videos - Apple DeveloperThere’s never been a better time to develop your apps with SwiftUI. Discover the latest updates to the UI framework — including lists,...
3:03 PM ∙ Jun 8, 2021
35Likes5Retweets
Twitter avatar for @PofatTseng
Pofat @PofatTseng
II. 5. 有 Table (macOS) 6. List, selection 各種在各平台的加強 7. searchable() modifier 直接生 search bar 8. ItemProviders 讓你在不同 process / platform 間互傳資料(猛的 在 macOS 叫 iOS 拍照並直接取得) 9. 更豐富的 SF Symbol 與 rendering mode
3:06 PM ∙ Jun 8, 2021
Twitter avatar for @PofatTseng
Pofat @PofatTseng
III. 10. SF Symbol 在不同場合會自動幫你選擇對應的 mode 11. 隆重恭迎 Canvas 12. TimelineView 讓你可以 schedule view 的變化 13. Privacy sensitive modifier 可以讓 view redacted when locked 14. Material 可以把不同特效 apply 到一堆元件上(不大確定)
3:11 PM ∙ Jun 8, 2021
Twitter avatar for @PofatTseng
Pofat @PofatTseng
IV. Summary 還沒完啊.... 15. 新的 safe area inset 設定方式 16. SwiftUI preview in landscape 17. Text 支援 Markdown ,當然還是有 localization 18. Text 支援新的 AttributedString 19. Text Keyboard 結合更緊密 20. Keyboard 終於可以選擇不是 return 的其它 key cap
3:15 PM ∙ Jun 8, 2021
Twitter avatar for @PofatTseng
Pofat @PofatTseng
V. 腰壽啊... 21. Keyboard 有 toolbar modifier 22. @focusstate 幫助你在各 TextField navigate 與 dismiss keyboard 23. 內建爆多種常見 button ,包含 size prominence ,有一定程度客製,當然直接適應 dark mode,dynamic type 24. 全平台的 Button group 與 menu style macOS app great again!
3:20 PM ∙ Jun 8, 2021
Twitter avatar for @PofatTseng
Pofat @PofatTseng
VI. 結語: 略過了一些項目,不過這些給我的感覺是,多(水果)平台的開發越來越容易且強大,共用 code 的程度越來越高,當然前提是你不要自己發明一些違背其原則的設計,設計師們可能也要趕快跟上了解這些元件在不同平台的行為和尺寸是怎麼適應的,說實在讓我很想開發個 macOS app
3:31 PM ∙ Jun 8, 2021

🤝社群活動

  • KKBOX WWDC2021 精選讀書會

  • WWDC.playground 錄影

    • 6/9 錄影

    • 6/10 錄影

    • 6/11 錄影(這場我有受邀去做分享,我講了下面提到的 AttributedString 研究)

    • 6/12 錄影

  • CocoaHeads Taipei 2021 六月份聚會,會用 gather.town

🤩我以為 Swift AttributedString 只是一層皮,原來是全新打造——AttributedString 研究

因為我猜錯 Swift AttributedString 底層還是 NSAttributedString,被 Apple 工程師打臉,所以整理這篇技術分享以示負責。

Twitter avatar for @jmschonfeld
Jeremy Schonfeld @jmschonfeld
@natpanferova @Blackjacxxx @ethanhuang13 We designed AttributedString from the ground up in Swift, so it has all of the Swift language features you'd expect and doesn't rely on any underlying NSAttributedString!
11:04 PM ∙ Jun 7, 2021
82Likes18Retweets

🤪Random Tweets

Twitter avatar for @cocoaphony
Rob Napier @cocoaphony
Wait…you can get your apps rejected directly from the iPad? This changes everything.
5:48 PM ∙ Jun 7, 2021
504Likes39Retweets
Twitter avatar for @twostraws
Paul Hudson @twostraws
😂 #WWDC21
"No iPads were harmed in the making of this event."
6:47 PM ∙ Jun 7, 2021
996Likes187Retweets
Twitter avatar for @jamesdempsey
James Dempsey @jamesdempsey
I don’t know about you, but I’m going to wait until it becomes Xcode Cloud+. #WWDC21
6:58 PM ∙ Jun 7, 2021
Twitter avatar for @aaronp613
Aaron @aaronp613
Someone on discord had a bug with iOS 15 beta 1...
Image
3:19 AM ∙ Jun 8, 2021
1,148Likes111Retweets
Twitter avatar for @alexjprice
Alex Stevenson-Price @alexjprice
@bzamayo My house looks like an AirPort Extreme.
Apple Maps on iOS 15 in 3D mode showing a house that looks like a round rect stretched up into a 3D object.
5:36 PM ∙ Jun 11, 2021
183Likes2Retweets

Twitter 上還有很多精彩的分享或重點,實在列不完。乾脆去翻一下我的 likes 比較快😅

💼職缺/履歷交流區

求職履歷:

  • Richard Liu (LinkedIn)

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

Share this post

開發者週報 #95 WWDC21—No iPads were harmed in the making of this event.

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