Core Data validation errors appearing twice, multiple times

Stupid thing really. I’m using validation in Core Data for the first time. I have a managed object, it fails validation, which is good. I fix it, and save again. There should be no validation errors. But there are. Why? The original, failed, managed object, is still in the managed object context. So even though my newly created second object passes validation, the other invalid one is still in there, trying to be saved, constantly failing. I needed to Read post »

Odd bug with inheritance and Objective C synthesized properties (with solution)

This is a weird one. I have a class. And it has a subclass. I kept getting error: 'psc' undeclared (first use in this function). Strangely, it would only occur when compiling for the device. The simulator was fine. psc is an ivar of the superclass. I did a bit of research and found the word @synthesize. I noticed that none of my other subclasses of that same class synthesized anything. I removed the synthesize statement. And it compiled. I Read post »

OpenID and iPhone apps

I am trying to find an OpenID implementation that is similar to the way that Facebook Connect’s login mechanism works on the iPhone. I can’t find anything, which is very surprising. Does anybody know of an open source OpenID consumer implementation for iPhone OS? And if you don’t know of one, are you looking for one? If I can’t find one, I am going to have to write my own, and it’s something that I Read post »