Wow, that was pretty “interesting” to say the least! After a brief introductory video (lesson 1), lesson 2 of module 6 of the CWC+ iOS Database Course takes us down the rocky road of modifying our old iOS Foundations Recipe App ready to use Core Data. Before we start, there’s […]
Yearly archives: 2022
I’ve always had a tough time explaining “relationships” between data tables when it comes to databases. Way back when I started using them with Lotus Approach, it was simply a matter of dragging one field from one table to a related field on another table and you could immediately see […]
We learn in lesson 4 of module 5 from the CWC+ iOS Database course, that we can sort our core data on fetch using sortDescriptors, which is an array of keys to sort plus a parameter for whether that sort should be in ascending order or not. In its simplest […]
So, what did we learn in lesson 3 of module 5 of the CWC+ iOS Dabatases course? Well, firstly, that Xcode creates a lot of dummy code for demonstration purposes that we don’t need to use. More usefully, our main top-level Swift file contains these essential pieces of code: As […]
Lesson 1: Core Data Basics This introduction to Core Data Basics, cleared up a few things for me. I had heard the phrase “Core Data” before but I had completely the wrong idea in my head. ‘Core Data’ is apparently “local data” – i.e., “database data” held locally on the […]
Module 4 continues with Lesson 4, in which we handle user sign-in and create account, using: and: with: and, of course: Lesson 5 In Lesson 5 of the module, we handle using Firestore to keep track of the last lesson / question the user was looking at so that, later, […]
After a brief introductory tutorial in Lesson 1, Lesson 2 sees us prepare the Learning App that we enhanced in Module 2 for authentication. Chris does provide a copy of the Learning App in case we don’t have our own but, of course, I have mine with notes so I’ll […]
In the final lesson from module 3 of the CWC+ iOS Databases course, Chris talks us through setting up Firebase, and our Xcode app, to handle associating data with a user. The primary point of note is that we’ve previously been setting up Cloud Firestore in “test mode”. This can […]