I have a piece of code in C# and I am rewriting it in Objective C. The code uses arrays a lot like double[]and also array of Point structure. so shall i simply used C style array to store Objective C double and CGPoint for my task OR is it a good practice to use NSArrays or NSMutableArrays every time along with NSValue or NSNumber to store non-objects in them.
I could well use a plain array, but again this array is generated at runtime depending upon the size, so shall I use malloc and free to accomplish the same ?
NOTE: http://www.codeproject.com/KB/graphics/BezierSpline.aspx
This the C# code, I am trying to implement in Objective C, if anyone has a converted code, please help me out. I tried but, doesn't seem to work for me.