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
|
Gemini CLI now supports Skills! Join hos...
Accelerators are getting faster, but is ...
For more details on this topic, visit th...
model that works best for your needs and...
With everything starting to use AI, ther...
Celebrate 10 years of Keras! 🎉 In this s...
Are you exploring JAX for the first time...
For more details on this topic, visit th...
Learn how Chrome handles permission upda...
CSS Selector Cheat Sheet: []( Web Dev Ro...
Building a recipe app? Stop worrying abo...
In this Python FastAPI tutorial, we'll b...
🔥AI-Powered Digital Marketing Certificat...
For only $1, you can claim a 1GB Residen...
WithSecure transformed threat analysis b...