Oooh, this is extra-nifty: If you’re using Core Data for your app’s data model, as if you’re requiring 3.0+ for your apps you probably should be, and if you’re using JSON for your data interchange as you almost certainly are, here is an awesome snippet that — with the support of blakeseely’s bsjonadditions project — makes dumping your NSManagedModels into JSON as simple as
[coreDataModel jsonStringValue]
Can’t beat that, can you?
h/t: iPhoneFlow!
6
NOV
NOV
2
Share