mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Build ChatListUI
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <LegacyComponents/TGMediaSelectionContext.h>
|
||||
|
||||
@class TGMediaSelectionContext;
|
||||
|
||||
@interface TGMediaPickerGallerySelectedItemsModel : NSObject
|
||||
|
||||
@property (nonatomic, copy) void (^selectionUpdated)(bool reload, bool incremental, bool add, NSInteger index);
|
||||
|
||||
@property (nonatomic, readonly) NSArray *items;
|
||||
@property (nonatomic, readonly) NSArray *selectedItems;
|
||||
|
||||
@property (nonatomic, readonly) NSInteger totalCount;
|
||||
@property (nonatomic, readonly) NSInteger selectedCount;
|
||||
|
||||
- (instancetype)initWithSelectionContext:(TGMediaSelectionContext *)selectionContext;
|
||||
- (instancetype)initWithSelectionContext:(TGMediaSelectionContext *)selectionContext items:(NSArray *)items;
|
||||
|
||||
- (void)addSelectedItem:(id<TGMediaSelectableItem>)selectedItem;
|
||||
- (void)removeSelectedItem:(id<TGMediaSelectableItem>)selectedItem;
|
||||
- (void)clear;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user