感謝大大們開發了口罩剩餘數量的 API,讓我們可以開發查詢口罩數量的網頁和 App,接下來就讓我們試試串接政府資料開放平臺 API & kiang 大大提供的藥局+衛生所即時庫存,利用 JSONDecoder解析 API…
設計 iOS App 畫面時,文字的字體是其中很重要的一環,感謝 Apple 早為我們準備了許多字體任君選擇。若是你跟彼得潘一樣有選擇障礙,那也不用擔心,不知如何選擇的話就選使用者熟悉的系統字體吧。
SwiftUI 有個專門製造分隔線的 divider,之前彼得潘一直冷落它,覺得它沒什麼用,直到最近看到 SwiftUI Masterclass 教學影片設計的以下畫面,才發現它也滿不錯的,很適合用來將畫面分割為多個區塊。
開發 SwiftUI App 時,利用 rotationEffect & rotation3DEffect 可實現各種有趣的旋轉效果。我們不只能控制旋轉的角度,還可以控制它延著 x、y、z 軸 & 某個 anchor 點旋轉。
接下來就讓我們以 B612 星球的小王子為例,看著他像旋轉木馬般精彩地旋轉吧。
struct ContentView: View {…
在 LINE 裡呈現美麗的程式碼再也不是幻想,只要在程式碼的前後輸入 ```,而且 LINE 還可以幫我們一鍵輸入呢,步驟如下:
```
上架 App Store 是我們開發 iOS App 的最終目標,但在上架之前最好能多找一些朋友幫忙測試。不過如果朋友手機是 android,不是 iPhone 呢?
Xcode 11.4 模擬器多了方便的 show single touches,只要從模擬器的 Preferences 勾選 show single touches,即可在點選模擬器 App…
show single touches
These were the top 10 stories published by 彼得潘的 Swift iOS App 開發問題解答集 in February of 2020. You can also dive into daily archives for February of 2020 by using the calendar at the top of this page.