Creating a two dimensional array in Objective-C May 29, 2023 by Tarik If it doesn’t need to be an object you can use: float matrix[3][3]; to define a 3×3 array of floats.