Building a recipe app? Stop worrying about backend infrastructure and focus on the code. In this video, @peterfriese from the Firebase team shows you how to build a complete "cookbook" feature using Cloud Firestore and Swift.
You'll learn how to map your Swift structs directly to Firestore documents using Codable, making data handling a breeze. We’ll cover everything from saving your first recipe to listening for real-time updates, so your users always see the latest data across all their devices. Plus, we'll look at how to secure your data with Firestore Security Rules.
In this video, you'll learn:
* How to model your data with Swift structs, Identifiable, and Codable.
* Performing CRUD operations: Create, Read, Update, and Delete.
* The difference between one-time fetches and real-time Snapshot Listeners.
* How to handle optional fields and partial updates.
* Essential tips for writing Firestore Security Rules.
Chapters
0:00 - Introduction
1:12 - Data Modeling with Swift Structs
1:46 - Firestore Concepts: Documents & Collections
2:38 - Mapping Data with Codable
3:15 - Saving Data (Create)
3:58 - Real-time Updates (Read)
5:28 - Updating Data (Update)
7:20 - Deleting Data (Delete)
7:43 - Feature Demo
8:57 - Security Rules
9:37 - Conclusion
Resources:
Friendly Meals Sample App (GitHub) →
Map Firestore documents to Swift Codable →
Firestore Documentation →
Watch more Firebase Fundamentals →
Subscribe to Firebase →
#firebase #swift #iosdevelopment #firestore #swif
|
🔥AI-Powered Full Stack Developer Course ...
AI is not the future it’s already trans...
🔥Data Analyst Masters Program (Discount ...
🔥AI-Powered Cybersecurity Mastery - 🔥CE...
In this #Shorts video on “Prompt Enginee...
🔥Data Analyst Masters Program (Discount ...
Learn how to use the Gemini Batch API, a...
See how Workday built an AI-powered Sale...
Want to make real money with coding? I s...
Pixis is an AI marketing platform that h...
Every major technology shift follows a f...
Here’s a classic interview question, ref...
Genspark is offering unlimited usage of ...