1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef ARRAYDATA_H # define ARRAYDATA_H #include "Data.h" @interface ArrayData: DataObject { id *data; int numChildren; int curObj; } -free; -(int)numObjects; -addChild: child; -objectAt: (int)index; @end #endif