Skip to content

Instantly share code, notes, and snippets.

@imosquera
Created October 9, 2011 22:38
Show Gist options
  • Save imosquera/1274308 to your computer and use it in GitHub Desktop.
Save imosquera/1274308 to your computer and use it in GitHub Desktop.
//import the socialize header
#import <Socialize/Socialize.h>
- (void)viewDidLoad
{
[super viewDidLoad];
NSString *entityUrl = @"http://www.example.com/object/1234"
SocializeActionBar *bar = [[SocializeActionBar createWithParentController:self andUrl:self.entityUrl]];
[self.view addSubview:bar.view];
}
//import the socialize header
#import <Socialize/Socialize.h>
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
[socializeActionBar incrementViewCount];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment