Heaven of all working Codes
July 28, 2011 / Cocos2D, iPhone, Objective-C
For calling a function after a definite time interval in Cocos2D, use the following code.
[self performSelector:@selector(yourFunction) withObject:nil afterDelay:7.0];
this will call the function ‘yourFunction’ after 7 seconds.
Tags: cocos2d, iphone, Objective-C
Your email address will not be published. Required fields are marked *
Your Name *
Your Email *
Theme by HermesThemes
Copyright © 2018 CoderzHeaven. All Rights Reserved