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 […]
Module 5 : Core Data
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 […]