So I have this CGPoint vertexLocations[6][6] multidimensional array which has all my vertex locations for 6 horizontal lines and 6 vertical lines. I created vertexLocations in a method. However i need to access it out of my method, but I having a hard time creating it into a global variable. I've tried the following:
@property CGPoint vertexLocations[][];
@property CGPoint vertexLocations[6][6];
But the complier screams at me for both, I also tried having my method return the multidimensional array but every way I tried it screamed at me. Any suggestions would be much appreciated, thanks!