I'm attempting to define a C int array as an instance variable in my class interface so that it can be accessed by any method in the class.
I tired writing
@interface aVCofMine : UIViewController{
int[] myArray;
}
and
@interface aVCofMine : UIViewController{
int myArray[];
}
but to no avail.
Is it actually possible to define a C array [instead of a NSArray] as an instance variable in the class interface?
int *myArrayIt'll be up to you to allocate the memory formyArray.