Core data model migration on the iPhone.
Doing something as simple as adding a new attribute to an entity in your Core Data model will break your application when it comes to opening older persistent data stores. Core Data has some support for automatic migration, documented in the “Introduction to Core Data Model Versioning and Data Migration Programming Guide” (whew!) in the Lightweight Migration section. Unfortunately, there are crucial steps that are not mentioned in this section. Kudos to Grouchal on Stack Overflow for giving us the rest of the story.
Coolibah!
I was on the phone with my friend tonight, and I realized that I haven’t put any links to my latest iPhone project on the blog. Oops! Here’s a demo video showing Coolibah, the iPhone scrapbooking project I’m doing with my sister Bobbie:
You can also visit the Coolibah blog for the latest updates. We’re also on Twitter (@coolibahme).
My MySQL tool is on softpedia.com.
I just got the notice today. I wrote this bulk row insert tool for MySQL that is designed to run over the Internet. It’s for really large data sets being loaded into … ahem … inexpensive hosted MySQL databases. Check out the mysqlxfer softpedia page.
Roll-your-own iPhone framework.
After starting work on my latest iPhone app (#6 or so), I finally decided it was time to get more efficient with my existing library of code. I’ve been building various helper classes for manipulating bitmaps, etc, and I wanted to be able to share them between my apps in a more organized way.
As usual, there isn’t much on the web about this, but I eventually tracked down a couple of useful articles to get me started:
The first article shows you how to add your own custom project type template to XCode so you can easily create shared iPhone libraries. The second one shows you how to reference your new library from your application. With a little trial-and-error I now have a nice shared lib of iPhone classes. Pretty soon, who knows, maybe Apple will allow dynamic linking and we can move iPhone development into the 80s!
