Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #import "MainScene.h"
  2.  
  3. @implementation MainScene
  4.  
  5. int score;
  6.  
  7. -(void)digButton {
  8. score++;
  9. scoreLabel.string = [NSString stringWithFormat:@"%i", score];
  10. }
  11. @end
  12.  
  13. -(void)applicationDidBecomeActive:(UIApplication *)application
  14. {
  15. NSLog(@"hi");
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement