In .net we use like this
List<CGPoint> list;
but since we don't have that in objective-c, we use this.
NSMutableArray * pointArray = [NSMutableArray array];
[pointArray addObject:[NSValue valueWithCGPoint:location]];
[pointArray addObject:[NSValue valueWithCGPoint:lastPoint]];
CGPoint retrievedPoint = [[pointArray objectAtIndex:0] CGPointValue];
no more words to say.
That's all~
Mayday Timeattack - Free on Appstore
댓글 없음:
댓글 쓰기