Skip to content

Instantly share code, notes, and snippets.

@SPopenko
Created August 8, 2012 09:15
Show Gist options
  • Save SPopenko/3293696 to your computer and use it in GitHub Desktop.
Save SPopenko/3293696 to your computer and use it in GitHub Desktop.
SSZ path control integration
self.bar = [[[SZPathBar alloc] initWithButtonsMask: SZProfileButtonMask|SZCommentsButtonMask|SZShareButtonMask|SZLikeButtonMask
parentController: self
entity: [SZEntity entityWithKey:@"http://www.google.com" name:@"Google"]] autorelease];
bar.menu.rotateAngle = -M_PI_2;
bar.menu.menuWholeAngle = 110 * M_PI / 180;
bar.menu.startPoint = self.view.center;
[self.view addSubview:bar.menu];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment