Creating a two dimensional array in Objective-C

If it doesn’t need to be an object you can use:

float matrix[3][3];

to define a 3×3 array of floats.

Leave a Comment