Extending NSData and (not) Overriding dealloc

| Blog | February 17, 2012

A couple of weeks ago Matt Long was having a problem with an app running out of memory. He had a ginormous data file he needed to load up and process, and that memory hit was more than the app could bear.Itwouldload

Continue reading »

Handling incoming JSON redux

| Blog | January 11, 2012

A few months ago I wrote here about a generic approach to safely take incoming JSON and save values to Core Data object. The goals of that code were twofold:

  1. Provide a safe, generic alternative toCocoa’s-setValuesForKeysWithDictionary:for

    Continue reading »