1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 17:37:33 +01:00
Telegram/Telegraph/TGMediaAssetFetchResult.h
2016-02-25 01:03:51 +01:00

23 lines
521 B
Objective-C

#import <Foundation/Foundation.h>
@class PHFetchResult;
@class ALAsset;
@class TGMediaAsset;
@interface TGMediaAssetFetchResult : NSObject
@property (nonatomic, readonly) NSUInteger count;
- (instancetype)initForALAssetsReversed:(bool)reversed;
- (instancetype)initWithPHFetchResult:(PHFetchResult *)fetchResult reversed:(bool)reversed;
- (TGMediaAsset *)assetAtIndex:(NSUInteger)index;
- (NSUInteger)indexOfAsset:(TGMediaAsset *)asset;
- (NSSet *)itemsIdentifiers;
- (void)_appendALAsset:(ALAsset *)asset;
@end