Latest 1.0.0
Homepage https://github.com/xmkevin/MOSliderMenu
License MIT
Platforms ios 7.0, requires ARC
Authors

MOSliderMenu is a menu with the same look as snapseed image adjustment menu.

How To:

Create a menu with some items:

NSArray *items = @[[[MOSliderMenuItem alloc] initWithText:@"ONE"],
                       [[MOSliderMenuItem alloc] initWithText:@"TWO"],
                       [[MOSliderMenuItem alloc] initWithText:@"THREE"],
                       [[MOSliderMenuItem alloc] initWithText:@"FOUR"],
                       [[MOSliderMenuItem alloc] initWithText:@"FIVE"]];

MOSliderMenu *menu = [[MOSliderMenu alloc] initWithFrame:self.view.frame
                                               menuItems:items
                                             andDelegate:self];

Add the menu to the view:

menu.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
[self.view addSubview:menu];

Then you can get events from the menu:

- (void)sliderMenu:(MOSliderMenu *)menu didSelectItemIndex:(NSInteger)index
{
    //Put your code here.
}

- (void)sliderMenuChangingSelectedItemValue:(MOSliderMenu *)menu
{
    //Put your code here.
}

Screenshot

Latest podspec

{
    "name": "MOSliderMenu",
    "version": "1.0.0",
    "summary": "A snapseed like image adjustment menu",
    "description": "It is a menu with the same look as snapseed image adjustment menu.",
    "homepage": "https://github.com/xmkevin/MOSliderMenu",
    "license": "MIT",
    "authors": {
        "xmkevin": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/xmkevin/MOSliderMenu.git",
        "tag": "v1.0.0"
    },
    "source_files": "MOSliderMenu/Classes/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This