Archive for April, 2007

Cocoa, Core Data, and me (VI)

Sunday, April 29th, 2007

We’re still working to get the country browser right, and it isn’t right yet. I don’t want the table in the browser to be editable, that is what the drawer is for. So when you doubleclick on a row in the browser, I want the drawer to slide out, if it’s not visible, and to […]

Cocoa, Core Data, and me (V)

Saturday, April 28th, 2007

Let’s take a closer look at the radiobuttons and how they relate to core data. Remember how the countries drawer pane looks in Interface Builder: I want the four radiobuttons to correspond to the four possible “VAT regions” in the data model: Maybe I need to explain what I mean by “VAT regions”, as most […]

Cocoa, Core Data, and me (IV)

Friday, April 27th, 2007

I’m back after finally getting the tax forms mailed in. What a waste of time that is. A civilized society shouldn’t be doing these things to their citizens. Now the time has arrived to construct the CountriesController class. This class controls the model and view for the countries data element. It is instantiated by the […]

Cocoa, Core Data, and me (III)

Tuesday, April 17th, 2007

I realize I skipped a step right in the beginning. I’m sure I skipped more steps, but at least I noticed this one. The step I missed is: How does one create a new window and its associated objects and have it created when a menu option is clicked or another part of the application […]

Being Joppy

Sunday, April 15th, 2007

So, I ventured out in the World of Warcraft after quite a bit of pressure from a friend. Downloaded the 10-day trial and fired it up. Works just fine. I created my first character to look a bit like me. Too much like me, really. Short legs, gray, rotund and highly ineffectual with a weapon. […]

Cocoa, Core Data, and me (II)

Friday, April 13th, 2007

I promised to describe how to implement validation to ensure uniqueness in the database. Here goes. First, you need to open the datamodel in XCode. With the datamodel on screen, select File… New… and you’ll see “Managed Object Class” under the section “Design”. Note that this choice simply isn’t there unless you first opened the […]

Cocoa, Core Data, and me (I)

Thursday, April 12th, 2007

My travails as I implement my first project in Cocoa, part I.