To convert CGPoint to NSValue:
NSValue valueXY = [NSValue valueWithPoint:CGPointMake(X, Y)];
To retrieve CGPoint from NSValue:
CGPoint mPoint=[valueXY pointValue];
This blog talks about iOS,Android,Mac,Cocoa,use of social networks, tips and tricks which can be used by you.
icon_16x16.pngicon_16x16@2x.pngicon_32x32.pngicon_32x32@2x.pngicon_128x128.pngicon_128x128@2x.pngicon_256x256.pngicon_256x256@2x.pngicon_512x512.pngicon_512x512@2x.pngicns files." . HERE IS THE LINK > git clone git://github.com/cocos2d/cocos2d-iphone.gitAfter this command a copy of Cocos2d will exist in Cocos2DGame folder. You need to step into Cocos2DGame folder by doing
You need to install the cocos2d Mac Template in XCode