TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2015 |
Maintained by Antonio Casero.
This control was designed for a fast implementation of scrollable menu. You just need to add this component directly to the storyboard or your xib file and implement the delegate methods.
Fully customizable, items, colors, padding, backgrounds, animations&behaviour!
$ git clone [email protected]:antoniocasero/ACPScrollMenu.git
ACPScrollMenu
to your viewcontroller.Set your view as ACPScrollMenu
class
Set your items, and call this method
- (void)setUpACPScrollMenu:(NSArray *)menuItems;
Fill the delegate method:
-(void)scrollMenu:(ACPScrollMenu *)menu didSelectIndex:(NSInteger)selectedIndex;
To initialize your items, choose between delegate methods or blocks:
- (id)initACPItem:(UIImage *)backgroundImage iconImage:(UIImage *)iconImage label:(NSString *)labelItem andAction:(actionBlock)block;
- (id)initACPItem:(UIImage *)backgroundImage iconImage:(UIImage *)iconImage andLabel:(NSString *)labelItem;
- (void)setHighlightedBackground:(UIImage *)backgroundImageHightlighted iconHighlighted:(UIImage *)iconImageHighlighted textColorHighlighted:(UIColor *)texColorHighlighted
ACPScrollMenu
is available under the MIT license. See the LICENSE file for more info.