Skip to content

KhalidElSayed/ACPScrollMenu

 
 

Repository files navigation

ACPScrollMenu

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!

Instalation

pod `ACPScrollMenu`

From source

  • Clone the repository

$ git clone git@github.com:antoniocasero/ACPScrollMenu.git

  • Or just drag this component to your project and import ACPScrollMenu to your viewcontroller.

Implementing

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;

###Items

To initialize your items:

- (id)initACPItem:(UIImage *)backgroundImage iconImage:(UIImage *)iconImage andLabel:(NSString *)labelItem;

if you want a custom highlighted state for you item

- (void)setHighlightedBackground:(UIImage *)backgroundImageHightlighted iconHighlighted:(UIImage *)iconImageHighlighted textColorHighlighted:(UIColor *)texColorHighlighted

Compatibility

  • Supports ARC.
  • Compatible with iOS5+.

License

ACPScrollMenu is available under the MIT license. See the LICENSE file for more info.

Bitdeli Badge

About

Scrollable menu easy to integrate and fully customizable

Resources

License

Stars

Watchers

Forks

Packages

No packages published