Skip to content

Rakutou/SSTableViewPopover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSTableViewPopover

Usage

#import "UITableView+Popover.h"

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    PopoverItem *item = [[PopoverItem alloc]initWithName:@"Item" image:[UIImage imageNamed:@"example.png"] selectedHandler:^(PopoverItem *popoverItem) {
        //handle callback
    }];
    PopoverItem *item1 = [[PopoverItem alloc]initWithName:@"Item1" image:[UIImage imageNamed:@"example1.png"] selectedHandler:^(PopoverItem *popoverItem) {
        //handle callback
    }];
    [tableView showPopoverWithItems:@[item,item1] forIndexPath:indexPath];
}

License

The project is available under the MIT license.

About

A UITableView category to show popover for cell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors