mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
27 lines
806 B
Objective-C
27 lines
806 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@class SSignal;
|
|
@class TGPhotoEditorController;
|
|
|
|
@interface TGMediaAvatarEditorTransition : NSObject
|
|
|
|
@property (nonatomic, copy) CGRect (^referenceFrame)(void);
|
|
|
|
@property (nonatomic, copy) CGSize (^referenceImageSize)(void);
|
|
@property (nonatomic, copy) SSignal *(^referenceScreenImageSignal)(void);
|
|
|
|
@property (nonatomic, copy) void (^imageReady)(void);
|
|
|
|
@property (nonatomic, assign) CGRect outReferenceFrame;
|
|
@property (nonatomic, strong) UIView *repView;
|
|
|
|
@property (nonatomic, strong) UIView *transitionHostView;
|
|
|
|
- (instancetype)initWithController:(TGPhotoEditorController *)controller fromView:(UIView *)fromView;
|
|
|
|
- (void)presentAnimated:(bool)animated;
|
|
- (void)dismissAnimated:(bool)animated completion:(void (^)(void))completion;
|
|
|
|
@end
|