Category Archives: Programming

Helpful Core Data debugging

Core Data is really great, but if your app crashes without warning it can be a major headache. Replacing the default error handling code with this more involved approach saved me hours of time debugging:

http://www.designcodeexecute.com/2009/08/28/iphone-sdk-coredata-debugging-error-1560-1570

Posted in iPhone Development, Programming | Tagged | Leave a comment

Can not use an object as parameter to a method (Obj-C errors, part 2)

This is an easy one to seasoned X-coders, but one that tripped me up a few times when I first got started.

BAD CODE:

-(void) makePhotoFromImage: (UIImage )image;

ERROR:

can not use an object as parameter to a method

TRANSLATION…

Posted in Objective C error translation series, Programming | Leave a comment

Objective C compiler errors: translations for newbs

I’m pretty new at Xcode and Objective C, so there may not be a one-to-one correspondence here between errors and the most probable cause, but this helps me so it may help you.

This will be a work in progress; …

Posted in iPhone Development, Objective C error translation series, Programming | Leave a comment

Dump mySQL database design into OmniGraffle

Check out this blog entry on Designweenie if you are a Mac user that uses OmniGraffle to design mySQL databases.

One important note: you will need to run AppleScript Editor in 32-bit mode if you are using Snow Leopard (Mac …

Posted in Programming | Leave a comment

mySQL to SQLite cheatsheet for iPhone developers

Although I started writing this as a cheat-sheet for myself (after many hours of struggling with this by trial-and-error), I figured it would be helpful for other iPhone developers who’d like to take a mySQL database online and migrate it …

Posted in iPhone Development, Programming | Tagged , , , , , , | 11 Comments