Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminatorover/rgbutton
Custom Button when tapped displays an set of 5 buttons moving radially out . Inspired by myfitnesspal
https://github.com/terminatorover/rgbutton
Last synced: 22 days ago
JSON representation
Custom Button when tapped displays an set of 5 buttons moving radially out . Inspired by myfitnesspal
- Host: GitHub
- URL: https://github.com/terminatorover/rgbutton
- Owner: terminatorover
- Created: 2015-01-11T04:14:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-06T03:57:05.000Z (almost 10 years ago)
- Last Synced: 2023-08-03T15:20:56.788Z (over 1 year ago)
- Language: Objective-C
- Size: 1.21 MB
- Stars: 28
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RGButton
[Check it out live](https://www.youtube.com/watch?v=RN47kjgtbhA&feature=youtu.be)Custom Button when tapped displays an set of 5 buttons moving radially out . Inspired by myfitnesspal
Implement the RGButtonDelegateProtocol
with the following method (it let's you know which button was tapped,the 0th index is left most button
- (void)tappedButtonWithIndex:(NSInteger )index;#configuration
- (void)setRadius:(CGFloat )radiusSet;//how far out the buttons move out
- (void)setImagesForButtons:(NSArray *)imageArray;
- (void)setCenterButtonImage:(UIImage *)setimage backgroundColor:(UIColor *)color;
- (void)backGroundColor:(UIColor *)color;