linphone-ios/Classes/LinphoneUI/UICheckBoxTableViewController.h

30 lines
880 B
Objective-C

//
// UICheckBoxTVTableViewController.h
// linphone
//
// Created by Gautier Pelloux-Prayer on 29/09/15.
//
//
#pragma once
#import <UIKit/UIKit.h>
@interface UICheckBoxTableViewController : UITableViewController
@property(nonatomic, readonly) NSMutableArray *selectedItems;
@property(weak, nonatomic) IBOutlet UIButton *deleteButton;
@property(weak, nonatomic) IBOutlet UIButton *editButton;
@property(weak, nonatomic) IBOutlet UIButton *cancelButton;
@property(weak, nonatomic) IBOutlet UIButton *toggleSelectionButton;
@property(weak, nonatomic) IBOutlet UIView *emptyView;
- (void)loadData;
- (void)accessoryForCell:(UITableViewCell *)cell atPath:(NSIndexPath *)indexPath;
- (void)removeSelectionUsing:(void (^)(NSIndexPath *indexPath))remover;
- (IBAction)onSelectionToggle:(id)sender;
- (IBAction)onEditClick:(id)sender;
- (IBAction)onCancelClick:(id)sender;
@end