1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +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