In other language we use the following.
CGPoint a, b;
if(a == b)
But in the objective c manner it is like this.
CGPoint location;
CGPoint lastPoint;
if (CGPointEqualToPoint(location, lastPoint)) {
}
pretty straight forward.
Have a good day.
'Old Stuff > IPhone Dev' 카테고리의 다른 글
[IPhone Dev] NSMutableArray Bad_Access what is wrong? (0) | 2011.08.17 |
---|---|
[IPhone Dev]How to create plist file for frame sheet animation (0) | 2011.08.17 |
[IPhone Dev] CGPoint Compare (1) | 2011.08.17 |
[IPhone 개발] plist File 만들기 (0) | 2011.08.14 |
[NSMutableArray Bad Access] NSMutableArray 읽기 오류 (0) | 2011.08.11 |
[CGPoint Array] CGPoint MutableArray? (0) | 2011.08.10 |