mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
32 lines
817 B
Objective-C
32 lines
817 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface TGItemPreviewView : UIView
|
|
|
|
@property (nonatomic, readonly) UIView *dimView;
|
|
@property (nonatomic, readonly) UIView *wrapperView;
|
|
|
|
@property (nonatomic, copy) CGPoint (^sourcePointForItem)(id item);
|
|
@property (nonatomic, copy) void (^onDismiss)(void);
|
|
@property (nonatomic, copy) void (^willDismiss)(void);
|
|
|
|
@property (nonatomic, assign) bool eccentric;
|
|
@property (nonatomic, strong) id item;
|
|
@property (nonatomic, assign) bool isLocked;
|
|
|
|
@property (nonatomic, assign) UIEdgeInsets safeAreaInset;
|
|
|
|
- (void)animateAppear;
|
|
- (void)animateDismiss:(void (^)())completion;
|
|
|
|
- (void)_handlePanOffset:(CGFloat)offset;
|
|
- (void)_handlePressEnded;
|
|
|
|
- (bool)_maybeLockWithVelocity:(CGFloat)velocity;
|
|
|
|
- (CGPoint)_wrapperViewContainerCenter;
|
|
|
|
- (void)_didAppear;
|
|
- (void)_willDisappear;
|
|
|
|
@end
|