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.
我可以很好地使用一个平原阵列,但这种阵列又是根据大小在运行时间产生的,因此,我是否应该使用小面积,并且可以自由地完成同样的任务?
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.