linphone-ios/Classes/LinphoneUI/UICheckBoxTableView.h
Gautier Pelloux-Prayer 6b4a1df50e UI: iPad version
2015-12-16 15:38:42 +01:00

32 lines
904 B
Objective-C

//
// UICheckBoxTVTableViewController.h
// linphone
//
// Created by Gautier Pelloux-Prayer on 29/09/15.
//
//
#pragma once
#import <UIKit/UIKit.h>
@interface UICheckBoxTableView : 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;
- (NSInteger)totalNumberOfItems;
@end