在之前的文章,我們介紹了如何利用 Airtable 製作 iOS App 連結的後台資料,建立包含電影資料的表單。接下來我們將繼續介紹如何串接它的 API。
開發 iOS App 時,我們時常利用 delegate 的技巧讓不同元件溝通。它可以運用在很多地方,比方將資料回傳到前一頁的 controller 是最常見的例子。
網站 Airtable 提供強大的資料表單功能,如下圖所示,美美的表格可以在瞬間完成,而且欄位裡可輸入多種類型的資料,比方文字,時間,圖片,多選的選項等都不是問題。
從 iOS 13 開始,當我們用 present modally 顯示下個畫面時,它預設會以酷炫的卡片方式呈現,比方以下例子:
開發 SwiftUI App 時,我們時常用到 Binding,而且產生的方法也很簡單 ,比方在 @State property 的變數加上 $,例如以下透過 toogle 設定書籍是否已讀的例子。
利用 UITableViewController table 獨有的 Static Cells 功能,我們可以不寫一行程式,直接從 storyboard 設計表格頁面的內容。
開發 iOS App 時,我們時常串接 JSON 格式的資料。不過世上的資料格式何其多,雖然 JSON 是最常用的,有時我們也會處理到其它格式,比方以逗號或 tab 分隔的 csv。
These were the top 10 stories published by 彼得潘的 Swift iOS App 開發問題解答集 in December of 2020. You can also dive into daily archives for December of 2020 by using the calendar at the top of this page.