Skip to content

itouch2/SphereMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An interesting menu.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published