Skip to content

Instantly share code, notes, and snippets.

@SPopenko
Created September 25, 2012 14:17
Show Gist options
  • Save SPopenko/3782197 to your computer and use it in GitHub Desktop.
Save SPopenko/3782197 to your computer and use it in GitHub Desktop.
Package up Action Bar Implementation
#import "SZPathBar.h"
//Put this on init section
if(self.sszBar == nil)
{
self.sszBar = [[[SZPathBar alloc] initWithButtonsMask: SZCommentsButtonMask|SZShareButtonMask|SZLikeButtonMask
parentController: viewController
entity: self.currentEntity]autorelease];
self.sszBar.menu.startPoint = CGPointMake(self.view.frame.size.width - 50, self.view.frame.size.height - 50);
[self addSubview:self.sszBar.menu];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment