Popularity
3.7
Stable
Activity
0.0
Stable
174
14
33

Code Quality Rank: L5
Programming language: Objective-C
License: MIT License
Tags: UI     Menu    

VLDContextSheet alternatives and similar libraries

Based on the "Menu" category.
Alternatively, view VLDContextSheet alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of VLDContextSheet or a related project?

Add another 'Menu' Library

README

VLDContextSheet

A clone of the Pinterest iOS app context menu.

BackgroundImage

Example Usage

VLDContextSheetItem *item1 = [[VLDContextSheetItem alloc] initWithTitle: @"Gift"
                                                                  image: [UIImage imageNamed: @"gift"]
                                                       highlightedImage: [UIImage imageNamed: @"gift_highlighted"]];

VLDContextSheetItem *item2 = ...

VLDContextSheetItem *item3 = ...

self.contextSheet = [[VLDContextSheet alloc] initWithItems: @[ item1, item2, item3 ]];
self.contextSheet.delegate = self;

Show

- (void) longPressed: (UIGestureRecognizer *) gestureRecognizer {
    if(gestureRecognizer.state == UIGestureRecognizerStateBegan) {

        [self.contextSheet startWithGestureRecognizer: gestureRecognizer
                                               inView: self.view];
    }
}

Delegate method

- (void) contextSheet: (VLDContextSheet *) contextSheet didSelectItem: (VLDContextSheetItem *) item {
    NSLog(@"Selected item: %@", item.title);
}

Hide

[self.contextSheet end];

For more info check the Example project.