1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGCollectionMenuController.h

41 lines
1.1 KiB
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
/*
* 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 "TGViewController.h"
#import "TGCollectionMenuSectionList.h"
#import "TGCollectionMenuLayout.h"
#import "TGCollectionItemView.h"
#import "TGCollectionMenuView.h"
@interface TGCollectionMenuController : TGViewController
@property (nonatomic, strong) TGCollectionMenuSectionList *menuSections;
@property (nonatomic, strong) TGCollectionMenuView *collectionView;
@property (nonatomic, strong) TGCollectionMenuLayout *collectionLayout;
2015-10-01 18:19:52 +02:00
@property (nonatomic) bool enableItemReorderingGestures;
2014-07-10 16:11:09 +02:00
- (void)_resetCollectionView;
- (NSIndexPath *)indexPathForItem:(TGCollectionItem *)item;
- (NSUInteger)indexForSection:(TGCollectionMenuSection *)section;
- (void)enterEditingMode:(bool)animated;
- (void)leaveEditingMode:(bool)animated;
- (void)didEnterEditingMode:(bool)animated;
- (void)didLeaveEditingMode:(bool)animated;
2015-10-01 18:19:52 +02:00
- (void)updateItemPositions;
- (void)animateCollectionCrossfade;
2016-02-25 01:03:51 +01:00
- (void)loadMore;
2014-07-10 16:11:09 +02:00
@end