Created
August 21, 2013 16:44
-
-
Save pbrewczynski/6296928 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GameViewController.m | |
// Paulina&Tomek | |
// | |
// Created by Pawełek on 8/21/13. | |
// Copyright (c) 2013 TwigIt. All rights reserved. | |
// | |
#import "GameViewController.h" | |
@interface GameViewController () | |
@end | |
@implementation GameViewController | |
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | |
{ | |
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
if (self) { | |
// Custom initialization | |
} | |
return self; | |
} | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
self.paulinaButton.transform = CGAffineTransformMakeRotation(M_PI); | |
NSTimer *t = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(onTick:) userInfo:nil repeats:YES]; | |
// Do any additional setup after loading the view. | |
} | |
- (void)didReceiveMemoryWarning | |
{ | |
[super didReceiveMemoryWarning]; | |
// Dispose of any resources that can be recreated. | |
} | |
-(void)onTick:(NSTimer *)timer { | |
//do smth | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment