Tag Archives: NSManagedObject

The MD5 checksum bug identified.

Happily it’s easy to fix and exactly what I thought it was. When retrieving values from an NSManaged object like so: NSString *foo = recipe.value; or NSString *foo = [recipe valueForKey:@”value”]; If the value is not present you get a … Continue reading

Posted in Chef's Book, Programming | Tagged , , , , | Leave a comment

I should of known it would be the relationships causing trouble.

Converting the JSON messages back into managed objects should be quite simple.  You loop around your dictionary converting stuff back.  A useful shortcut is provided by the managed object function setValuesForKeysWithDictionary.  Given that the dictionary came from a managed object … Continue reading

Posted in Programming | Tagged , , | Leave a comment