mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
26 lines
543 B
Objective-C
26 lines
543 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface TGModernGalleryComplexTransitionDescription : NSObject
|
|
|
|
@property (nonatomic, strong) UIImage *overlayImage;
|
|
@property (nonatomic, assign) CGFloat cornerRadius;
|
|
@property (nonatomic, assign) UIEdgeInsets insets;
|
|
|
|
@end
|
|
|
|
@protocol TGModernGalleryTransitionView <NSObject>
|
|
|
|
@required
|
|
|
|
- (UIImage *)transitionImage;
|
|
|
|
@optional
|
|
|
|
- (CGRect)transitionContentRect;
|
|
|
|
- (bool)hasComplexTransition;
|
|
- (TGModernGalleryComplexTransitionDescription *)complexTransitionDescription;
|
|
|
|
@end
|