Skip to content

Instantly share code, notes, and snippets.

@AlexanderBollbach
Created August 31, 2015 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexanderBollbach/83b8ff0ebb58b546cb67 to your computer and use it in GitHub Desktop.
Save AlexanderBollbach/83b8ff0ebb58b546cb67 to your computer and use it in GitHub Desktop.
- (void)viewDidLoad {
[super viewDidLoad];
incrementName = 0;
self.orbManager = [OrbManager sharedManager];
self.orbMaster = [OrbMaster orbMaster];
[self.view addSubview:self.orbMaster];
UITapGestureRecognizer* masterTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(newOrb:)];
[self.view addGestureRecognizer: masterTap];
masterTap.numberOfTapsRequired = 2;
// self.view.backgroundColor = [UIColor purpleColor];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment