Skip to content

Instantly share code, notes, and snippets.

@nwg
Forked from imosquera/controller.m
Created October 26, 2011 01:13
Show Gist options
  • Save nwg/1315113 to your computer and use it in GitHub Desktop.
Save nwg/1315113 to your computer and use it in GitHub Desktop.
//import the socialize header
#import <Socialize/Socialize.h>
@interface Controller : UIViewController
@property (nonatomic, retain) SocializeActionBar *actionBar;
@end
- (void)viewDidLoad
{
[super viewDidLoad];
self.actionBar = [SocializeActionBar actionBarWithKey:@"http://www.example.com/object/1234" name:@"Example Entity" presentModalInController:self];
[self.view addSubview:self.actionBar.view];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment