目標:串接 Twitter API 建立一個可以瀏覽世界各地的發燒話題的 iOS App
Dcard是很多大學生在用的討論平台,雖然還是比較喜歡用PTT,但Dcard介面比較好看就來練習做出他們的畫面及使用Json抓取資料囉!
上次說到 FCM ,用偷吃步的方式在 Iphone 上利用 URLRequest 來傳送通知到 Firebase 在傳送到使用者 Iphone 上面,這次就要來討論怎麼透過 Firebase 本身的服務來達成 推播通知(Remote notification) 。
練習使用Dcard Api 抓資料後解析
https://dcard.tw/_api/posts
一開始先使用 JSON Editor Online 查看會接到什麼東西
These were the top 10 stories published by 彼得潘的 Swift iOS / Flutter 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.