13 報

Share this post

開發者週報 #122 Swift Playgrounds 4、別以為 log4j 與 iOS 開發無關

www.ethanhuang13.com

開發者週報 #122 Swift Playgrounds 4、別以為 log4j 與 iOS 開發無關

Apple/iOS 開發者的一週大小事 2021/12/13-2021/12/19

13
Dec 19, 2021
3
Share this post

開發者週報 #122 Swift Playgrounds 4、別以為 log4j 與 iOS 開發無關

www.ethanhuang13.com

13的話

本週的內容我用一張梗圖總結

Twitter avatar for @ethanhuang13
13 @ethanhuang13
Friends don’t let friends download Xcode from the Mac App Store! Instead, get Swift Playgrounds. CC @ios_memes
Image
2:57 AM ∙ Dec 16, 2021

(看前一期 · 回首頁)


🧪iOS 15.3 Beta & Xcode 13.2.1

  • macOS Monterey 12.2 Beta

  • iOS 15.3 Beta

  • watchOS 8.4 Beta

  • tvOS 15.3 Beta

以上沒寫什麼內容。最大條的是:

  • Xcode 13.2.1

實際上 Xcode 有用到 log4j,13.2.1 有 patch 喔。

Twitter avatar for @as790726
陳冠霖 Jason @as790726
XD
Image
3:31 AM ∙ Dec 16, 2021
317Likes35Retweets
Twitter avatar for @ethanhuang13
13 @ethanhuang13
原來 Xcode 也有用到 log4j,不過別擔心,已自動更新了。出處 Xcode 13.2.1 release notes(那舊版也會自動更新嗎?好問題🤔) developer.apple.com/documentation/… via @yyyyyyyyyyyyyrc
Image
5:54 AM ∙ Dec 18, 2021
13Likes2Retweets

隨著這版本的推出,應該是 iOS 開發者們認真考慮升級到 Xcode 13 的時候了。

🧩The Composable Architecture

根據我的日常開發經驗,TCA 是 SwiftUI 相關架構中,相對成熟的框架與方案。

現在,它已經來到 5k stars,不是個小數目(相較之下,RxSwift 是 21k)。

Twitter avatar for @pointfreeco
Point-Free @pointfreeco
In just a year and a half the Composable Architecture has surpassed 5k starts on GitHub! 🤩 And we've got some exciting things planned for the library in 2022. Keep an eye out! 👀 github.com/pointfreeco/sw…
Image
3:12 PM ∙ Dec 13, 2021
195Likes26Retweets

🆕Swift Playgrounds 4

終於推出了!可以用 iPad 感受「從開發到送審被拒絕」的整套體驗(?)

Twitter avatar for @PofatTseng
Pofat @PofatTseng
Swift Playground 4 總算趕在年終上路了,我想這就是 Apple 對於大家一直呼喊「Xcode on iPad」的回應:更強大的 Playground 與全新結構的 Swift Package based App
apple.comSwift PlaygroundsSwift Playgrounds is an iPad and Mac app that teaches you to write Swift code in a fun, interactive way. Learn the code developers use to build apps.
12:59 AM ∙ Dec 16, 2021
33Likes8Retweets

可以看 Denken 的快速上手:

Twitter avatar for @denkeni
Denken @denkeni
用 SwiftUI 大約花了一個半小時就復刻出《台灣電子書搜尋》,限定 iPadOS 15.2 + Swift Playground 4.0 以上版本,點擊即可下載執行:icloud.com/iclouddrive/0e…
3:00 PM ∙ Dec 16, 2021
182Likes32Retweets

實際移植範例,可以看這串:

Twitter avatar for @stroughtonsmith
Steve Troughton-Smith @stroughtonsmith
Just to give Swift Playgrounds 4 a proper test, I ported Lights Off to it in its entirety. The majority of the Xcode project can be dragged & dropped into the Playgrounds project, and it just works
Image
Image
Image
Image
9:46 PM ∙ Dec 15, 2021
270Likes36Retweets
Twitter avatar for @stroughtonsmith
Steve Troughton-Smith @stroughtonsmith
It’s really neat that Playgrounds supports your regular Markdown DocC-style Swift comments & documentation, though you really have to fight with the automatic indentation when trying to add some of your own in the editor
Image
10:00 PM ∙ Dec 16, 2021
22Likes3Retweets

版控怎麼辦?可以搭配 Working Copy 使用。下面影片應該是直接存取 iCloud Drive 上的檔案。我的話,會把檔案移到 Files 裡的 Working Copy 再回 Playgrounds 打開來編輯。

Twitter avatar for @WorkingCopyApp
Working Copy @WorkingCopyApp
Swift Playgrounds 4 is out bringing SwiftUI development to the iPad. Setup Git version control by dragging playgrounds from the Files app into the repository list in Working Copy. developer.apple.com/swift-playgrou…
9:30 PM ∙ Dec 15, 2021
240Likes66Retweets

IPA 甚至可以拿出來 side loading 呢~

Twitter avatar for @rileytestut
Riles 🤷‍♂️ @rileytestut
Turns out it is indeed possible to export compiled .ipa’s from Swift Playgrounds 4 with a little TLC — which can then be sideloaded with @altstoreio to appear on the Home Screen like a normal app 😄
Image
Image
11:11 PM ∙ Dec 16, 2021
257Likes28Retweets

Icon 產生器背後的設計故事👀

Twitter avatar for @edwardsanchez
Ed Sanchez @edwardsanchez
Fun fact: We ended up creating 2 versions of every Placeholder icon in Swift Playgrounds, a normal and an inverted because simply tinting the icon looked wrong.... 🧵
Image
Twitter avatar for @Naxum
Jake Sawyer @Naxum
Fun fact: I designed and implemented this sheet in Swift Playgrounds as an app project! I handed it off to @chrisbroughart as design spec & first-pass implementation and he integrated it into the real app, what an awesome workflow! https://t.co/iBM7P2CCWC
5:57 AM ∙ Dec 17, 2021
177Likes12Retweets

🤪Random Tweets

我在各種管道中說過無數次「不要用 Mac App Store 安裝 Xcode」,相信你這次沒有中招吧~

Twitter avatar for @onevcat
onevcat @onevcat
很难想象一个带有这样严重问题的 build 能够被作为正式版推出…不过这也再次印证了我长久一直以来的观点:敢用 App Store 装 Xcode 的开发者都是没被坑过的年轻人 😂
Image
2:25 PM ∙ Dec 14, 2021
92Likes17Retweets

薛丁格的 Bool

Twitter avatar for @vardi
Moshe Vardi @vardi
Students and their Schrodinger's answers
Image
5:50 PM ∙ Dec 14, 2021
10,802Likes2,300Retweets

這是好東西啊

Twitter avatar for @fatbobman
fatbobman @fatbobman
这段时间阅读 @olebegemann dump 的 SwiftUI framework 有了不小的收获,不过他dump的版本有点旧了。我重新生成了一个Xcode 13.2下的版本。 dump的工具为:swift-reflection-dump
gist.github.comA dump of the SwiftUI.framework binary for the iOS simulator (as of Xcode 13.2 13C90) using the swift-reflection-dump tool.A dump of the SwiftUI.framework binary for the iOS simulator (as of Xcode 13.2 13C90) using the swift-reflection-dump tool. - dump.sh
7:00 AM ∙ Dec 15, 2021
21Likes2Retweets

笑死

Twitter avatar for @jckarter
Joe Groff @jckarter
Instead of the terms "whitebox testing" and "blackbox testing", consider the alternative terms, "iMac testing" and "eMac testing"
G3 iMac with transparent case
eMac with opaque case
7:27 PM ∙ Dec 15, 2021
38Likes3Retweets

Darren 梗圖王

Twitter avatar for @Deirenwu
Darren @Deirenwu
@ethanhuang13
Image
6:05 AM ∙ Dec 16, 2021
Twitter avatar for @Deirenwu
Darren @Deirenwu
@Megabits_mzq @ethanhuang13 開一堆 preview 鸚鵡直接變直升機原地起飛🤪
6:21 AM ∙ Dec 16, 2021
Twitter avatar for @Deirenwu
Darren @Deirenwu
@Megabits_mzq @ethanhuang13 我們拿掉了 Macbook Air 的風扇 但我們留下了 SwiftUI Preview 給開發者 —— 提姆·庫克 沒有說過這句話
6:29 AM ∙ Dec 16, 2021
3Likes1Retweet

ProMotion 的「傷害」

Twitter avatar for @johnnie_tseng
Johnny @johnnie_tseng
換了新手機的一個困擾,有時候拿同事手機測試 me: 怎麼滑起來這麼卡??我哪裡寫壞了嗎 (過兩秒後) me: 哎呀 我知道了 因為我拿ㄉ是 埃轟 13 pRo~~~ 以上場景重複大概了三次 多到同事以為我每次都故意做梗 相信未來還有第四次第五次第六次..
3:16 PM ∙ Dec 16, 2021
20Likes1Retweet

智慧

Twitter avatar for @hirakujira
Hiraku @hirakujira
軟體工程師的兩個美德:耐心 跟 沒耐心。 要夠有耐心才能在茫茫 code 海中找到 bug。要非常沒有耐心,才能持續調整演算法跟執行速度,讓軟體跑得更快、佔用空間更小。
3:15 PM ∙ Dec 13, 2021
197Likes25Retweets

勸敗了一年終於得到證實

Twitter avatar for @HsuToby
Toby Hsu @HsuToby
使用 M1 的第一天驗證了一些事情: 1. 手好冷 2. 沒有時間滑推 3. 電池比人還持久
2:03 AM ∙ Dec 19, 2021
40Likes2Retweets

🎙weak self podcast 89: Protocol 萬法歸宗?It takes Two

兩個 Protocol 相關 Swift Evolution

💼職缺/履歷交流區

  • Ubiquiti Inc. (UI) iOS Developer & Android Developer

  • Omlet Arcade 徵 iOS Engineer

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

Share this post

開發者週報 #122 Swift Playgrounds 4、別以為 log4j 與 iOS 開發無關

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