Dereference UnsafeMutablePointer<UnsafeMutableRawPointer>
问题 I have a block that is passing data in that I'd like to convert to an array of array of floats -- e.g. [[0.1,0.2,0.3, 1.0], [0.3, 0.4, 0.5, 1.0], [0.5, 0.6, 0.7, 1.0]]. This data is passed to me in the form of data:UnsafeMutablePointer<UnsafeMutableRawPointer> (The inner arrays are RGBA values) fwiw -- the block parameters are from SCNParticleEventBlock How can I dereference data into a [[Float]]? Once I have the array containing the inner arrays, I can reference the inner array (colorArray)