Author Archives: theMIkeSwan

About theMIkeSwan

Entertainment Lighting Tech, OS X & iOS developer

Support classes

Just a quick post to let you know that I created a repo on GitHub of support classes. It includes the table printing classes I talked about previously as well as a class for exporting (and eventually importing) CSV data … Continue reading

Posted in Programming, Source Code | Leave a comment

Expenses: A Core Data Tutorial Part 1 with Xcode 4

Since Xcode 4 has, at least for the moment, removed the wonderful Core Data UI prototyping tool here is a newer version that goes through setting up the same app as before but using Xcode 4.1 running on Lion. While … Continue reading

Posted in Core Data, Programming | 20 Comments

Expenses Part 5: Printing Core Data

  At some point along the line there is still a good chance the user is going to want to print data from our application, either to paper or to a PDF document. So, today we will be talking about … Continue reading

Posted in Core Data, Programming | 3 Comments

Printing Tabular Data

So I have been working on a Core Data application for Mac OS X that will eventually have an iPhone and iPad. I have been learning how to write software in general and Cocoa code specifically along the way. A … Continue reading

Posted in Core Data, Programming, Source Code | Leave a comment

Troubleshooting tips part 1: NSLog, etc.

In the course of working on part four of the Expenses tutorial I kept getting the error about the store being incompatible with the store used to create the file despite the fact that I copied the code over from … Continue reading

Posted in Programming | Tagged | Leave a comment

Expenses: A Core Data Tutorial Part 4, Versioning

Basic Data Versioning This time we are going to be working with some basic data migration. In OS X 10.4 & 10.5 data migration was a bit tricky (mostly because the Apple docs weren’t very clear about a method you … Continue reading

Posted in Core Data, Programming | Leave a comment

Expenses: A Core Data Tutorial part 3

User Preferences So it has taken far longer than I anticipated to get this one out, but I suppose these things happen. This time we will be setting up some user defaults, we will be doing far less with Core … Continue reading

Posted in Core Data, Programming | Leave a comment

A Core Data Tutorial Part 2: Polishing the Basics

In this installment we will add some polish to our app. This time we will spend most of our time writing code and very little in IB. We will also not be adding anything the user will really notice (unless … Continue reading

Posted in Core Data, Programming | Leave a comment

A Core Data Tutorial Part 1

This is the first in a series of tutorials that combines other tutorials I have seen and in the end will go a little past the others I have seen. My intention is to take this app from beginning to end, including the finishing touches like update checking, serial number, and icons. I am writing this to help me figure out a few things about Core Data and hopefully help others as well. Continue reading

Posted in Core Data, Programming | 2 Comments