linphone-ios/Classes/SideMenuTableViewController.h
Gautier Pelloux-Prayer f39d50e6f0 side menu
2015-07-28 17:02:24 +02:00

26 lines
512 B
Objective-C

//
// SideMenuTableViewController.h
// linphone
//
// Created by Gautier Pelloux-Prayer on 28/07/15.
//
//
#import <UIKit/UIKit.h>
// the block to execute when an entry tapped
typedef void (^SideMenuEntryBlock)(void);
@interface SideMenuEntry : NSObject {
@public
NSString *title;
SideMenuEntryBlock onTapBlock;
};
@end
@interface SideMenuTableViewController : UITableViewController
@property(nonatomic, retain) NSMutableArray *sideMenuEntries;
+ (void)addSideMenuEntry:(SideMenuEntry *)entry;
@end