mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
37 lines
732 B
Objective-C
37 lines
732 B
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol TGActionTableViewCell <NSObject>
|
|
|
|
- (void)dismissEditingControls:(bool)animated;
|
|
|
|
@end
|
|
|
|
@protocol TGActionTableViewDelegate <NSObject>
|
|
|
|
- (void)dismissEditingControls;
|
|
- (void)commitAction:(UITableViewCell *)cell;
|
|
|
|
@optional
|
|
|
|
- (void)performSwipeToLeftAction;
|
|
- (void)performSwipeToRightAction;
|
|
|
|
@end
|
|
|
|
@interface TGActionTableView : UITableView
|
|
|
|
@property (nonatomic, strong) UITableViewCell *actionCell;
|
|
|
|
- (void)hackHeaderSize;
|
|
- (void)enableSwipeToLeftAction;
|
|
|
|
@end
|