Lesson 8 from Module 1 of the CWC+ iOS Database course shows us how we can use completion handlers to check for errors when we interract with Firestore. We can use this when we try to delete a document, re: When updating a document, re: Just keeping this here to […]
Module 1 : Firestore Database
Following on from the previous lesson, this short video teaches us the different ways we can delete records (documents) and key-value pairs from our Firebase. We can use the .updateData modifier to delete individual key-value pairs, thus: To delete the entire document, we would use the .delete() modifier thus: It’s […]
Following on from the previous lesson, this short video teaches us the different ways we can update our Firebase. We can use the .setData modifier to, effectively, overwrite all key-value pairs, thus: All key-value pairs will be deleted, and only those listed will be recreated. This has the effect of […]
In Lesson 5 of Module 1 of the CWC+ iOS Database Course, Micah shows us how to use Xcode to add data to our Firestore database. Having previously set-up Firebase, and ensuring we’ve added GoogleService-Info.plist to our Xcode project, we can use the following commands. Get access to our Firestore […]
Lesson 4 of Module 1 from the CWC+ iOS Dabatase course gets our “hands dirty” looking into how Firestore structures its data. I very much come from a background of MySQL / MariaDB, but I recall quite clearly a time from before I’d even heard of “SQL”. Firestore is NoSQL, […]
It can be somewhat disillusioning when you need to have a “stop-start” approach this early in a course. This time around it’s because of how Firebase seems to have changed since the tutorial video. Micah makes it seem so easy as he whizzes through the steps required, but the changes […]
A new day, a new course from CWC+. Having covered the intense but general iOS Foundations and the head-scratchingly rewarding Design Course, I now move onto the iOS Database Course. The introduction, and first and second lessons, introduce us to the need for databases and why the course focuses on […]