Skip to content
An interesting menu.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SphereMenu.xcodeproj
SphereMenu
SphereMenuTests
LICENSE
README.md

README.md

SphereMenu

SphereMenu is a fun menu powered by UIDynamicAnimator. Inspired by Sphere.

Usage

To use SpereMenu, create a SpereMenu like this

UIImage *startImage = [UIImage imageNamed:@"start"];
UIImage *image1 = [UIImage imageNamed:@"icon-twitter"];
UIImage *image2 = [UIImage imageNamed:@"icon-email"];
UIImage *image3 = [UIImage imageNamed:@"icon-facebook"];
NSArray *images = @[image1, image2, image3];
SphereMenu *sphereMenu = [[SphereMenu alloc] initWithStartPoint:CGPointMake(160, 320) startImage:startImage submenuImages:images];
sphereMenu.delegate = self;
[self.view addSubview:sphereMenu];

A Quick Peek

screenshots

License

SphereMenu is available under the MIT license, see the LICENSE file for more information.

You can’t perform that action at this time.