Skip to content

Instantly share code, notes, and snippets.

@scompt
Created June 17, 2013 04:22
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 scompt/5794632 to your computer and use it in GitHub Desktop.
Save scompt/5794632 to your computer and use it in GitHub Desktop.
@implementation ViewController
- (void) viewDidLoad {
UIGestureRecognizer *recog = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gogo:)];
[self.view addGestureRecognizer:recog];
}
- (void) gogo:(UIGestureRecognizer *)recog {
NSString *clientId = [NSMutableString stringWithString:@"1431665"];
Pinterest *pinterest = [[Pinterest alloc] initWithClientId:clientId];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment