I have a set of legacy multi-dimenstional arrays of a struct SpaceData; the following is a typical one, and some are larger.
SpaceData dataArray[2][4] ={
{ {16, 0, false}, {6, -2, true}, {9, -1, true}, {9, 0, true} },
{ {1, 0, false}, {8, -2, true}, {0, -1, true}, {0, 0, true} },
}
I want to use these to initialize Objective C objects with these data sets. So I'm creating a SpaceDataClass but have no idea how to "feed" these into the objects. I am dreading looping through these or in anyway copying the data over.
Is there an easier way of just have the objects property point to these already existing data structures?
Thanks for your help.