This required me to brush up on my dynamic C-array allocation skills which had become somewhat rusty from only using Objective-C objects for everything.
www.cocoanetics.com