
Set up a Firestore project, create and save data, and retrieve and sort posts to build a social app for sharing thoughts by topic.
Set up an iOS single view app, register it with firebase, install cocoa pods for firebase core and firestore, and initialize firebase in the app delegate.
Firestore is a flexible database for mobile, web, and server development with real-time updates and offline support. Data is organized into collections and documents with nested subcollections, enabling expressive querying.
Set up the add thought UI with a navigation bar, an add button, and a three segment control for funny, serious, crazy, plus input fields for the random thought.
Post your first Firestore entry by writing a document to the thoughts collection with category, thought text, user name, timestamp, and initial likes and comments from your iOS app.
Set up the main view controller with a segmented control and table view, create a thought model and a custom cell, and enable dynamic row height for Firestore data.
Fetch documents from a Firestore collection, parse document data into a Thought model, and display it in a table view in your iOS app.
Learn to implement a Firestore snapshot listener for real-time updates, filter results by category with where queries, and order posts by a human-readable timestamp for a responsive iOS app.
Update individual Firestore documents by incrementing the likes count in a thought document using set data with merge options, and refactor parsing logic into the thought model.
Learn how to add Firebase authentication logging, enable comments on posts using subcollections, and apply Firestore security rules to protect your database and restrict access.
For Firebase Firestore for iOS, this lecture builds the login flow by implementing email and password authentication, creating login and create user screens, and applying authentication and security rules.
Learn to implement Firebase authentication for iOS, enable email/password login, create users, set display name, and store user data in Firestore with the user ID as document ID.
log in users with firebase authentication using email and password, create a user, sign out, and persist login state across sessions with an auth state change listener.
Develop the comments UI in a new comments view controller, pass the selected thought with a segue, and display comments in a table view with user name, timestamp, and text.
Set up a comments table view with delegate and data source, create a comment model and cell to show username, timestamp, and comment text, then prepare for Firestore transactions.
Learn to implement Firestore transactions to add a comment to a thought and increment the thought's comments count atomically, using reads before writes, server timestamps, and a comments subcollection.
Display and live-update comments from a Firestore collection in an iOS app using a snapshot listener, parsing the user name, time stamp, and comment text for presentation.
Learn how to implement Firebase Firestore security rules to protect thoughts, comments, and user data by enforcing authenticated reads and writes and controlled document access.
Explore Firestore security rules and implement edit and delete capabilities for posts and comments, aligning security with your app implementation in this intro to Firestore security lesson.
Extend your Firebase Firestore for iOS app by learning to delete documents and collections, implement advanced security rules, and track user ownership with new user id and document id fields.
Implement a protocol-delegate pattern to handle option taps in thought and comment cells by using a tap gesture recognizer, showing options to the owner, and passing data to the controller.
Learn how to delete a comment in Firestore by locating the comment document, calling delete, and updating the parent thought's comment count via a transaction.
Learn to update comments in a Firestore-backed iOS app by editing existing text, passing comment data between view controllers, and updating the Firestore document with error handling.
Refine Firestore security rules for the comments collection by restricting reads, enabling create for logged-in users, and allowing delete and update only by the comment owner.
Learn how to delete a thought and its comments subcollection in Firestore for iOS using a batch delete function. Handle the delete via a confirmation alert before removing the thought.
design thought security rules in Firebase Firestore for iOS by enabling read and create for logged-in users and restricting delete to the thought owner, with get calls to verify ownership.
Wrap up this course by exploring next steps with Firebase Firestore for iOS, extending real-time updates, authentication, and thought editing while refining security rules and UI for your own app.
Firestore for iOS
Welcome to beginner Firestore development. In this course you'll learn all about the brand new Firestore, a NoSQL document based technology. We start from the ground up and teach you everything you need to know from the fundamentals, authentication and a deep dive into Firestore security rules.
*BASIC KNOWLEDGE OF SWIFT AND XCODE IS ASSUMED
WHY TAKE THIS COURSE?
Learning the new Firestore should be taught using real world examples. In this course you're going to learn to code the Devslopes way. We teach by building real world, professional, amazing looking apps from start to finish.
Here are some of the things you'll be able to do after taking this course:
Who this course is for:
If you are a student of our iOS 11: From Beginner to Paid Professional - or have any other basic understanding of iOS development, then this is a perfect next step to advanced your iOS and Firestore skills.
Don't forget to join the free live community where you can interact with other students and ask questions to the community.