Created
September 25, 2012 14:17
-
-
Save SPopenko/3782197 to your computer and use it in GitHub Desktop.
Package up Action Bar Implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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