title: Objective C - Create a multi-dimensional array with the dimensions specified at initialisation
body: <p>I am trying to create a class where the width and height of a 2 dimensional array can be dynamically created at the point of initialisation with init parameters.</p>
  
  <p>I have been looking through the web for hours and cannot find a way.</p>
  
  <p>Using a standard C syntax <code>[][]</code> does not allow for a variable to be used to declare the array.
  The mutable arrays within Objective C, in all examples I have seen, require the objects to be hard coded at the time of creation.</p>
  
  <p>Is there a way of creating a 2 dimensional array within an object with parameters to define the sizes at the point of creation?</p>
  
  <p>Hoping someone can tell me what I am missing...</p>