前陣子為了完成專案,所以開始學習資料庫,我的啟蒙老師(https://sang0313.github.io/ 有興趣的可以去看看他的Blog)推薦我一款跨平台的資料庫——Realm。
之前都是用Storyboard拉畫面,這次要用程式碼做這樣的畫面:
這次的進度主要是利用Realm來儲存、讀取、刪除、修改各種資料。
自從更新Xcode11之後,每個開啟新專案的小夥伴都會發現多了一個SceneDelegate,而AppDelegate裡的程式碼也不盡相同,最大的問題就是只能與iOS13以上的版本相容,本文就手把手地教小夥伴們怎麼創建與iOS12…
做了一個陽春的畫面來展示如何偵測UITableView上的按鈕點擊事件,這次介紹如何使用tag。
進入Firebase新增專案
晚上無聊做了一個小東西來打發時間
前置作業:
請參考
接續上一篇,這篇要解決畫面打橫以後畫面會跑掉的狀況。
These were the top 10 stories published by Tung's iOS; you can also dive into yearly archives: 2018, 2019.