mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 12:17:53 +00:00
22 lines
466 B
Swift
22 lines
466 B
Swift
import Foundation
|
|
import AsyncDisplayKit
|
|
|
|
protocol InstantPageNode {
|
|
func updateIsVisible(_ isVisible: Bool)
|
|
}
|
|
|
|
/*@class TGInstantPageMedia;
|
|
|
|
@protocol TGInstantPageDisplayView <NSObject>
|
|
|
|
- (void)setIsVisible:(bool)isVisible;
|
|
|
|
@optional
|
|
|
|
- (void)setOpenMedia:(void (^)(id))openMedia;
|
|
- (void)setOpenFeedback:(void (^)())openFeedback;
|
|
- (UIView *)transitionViewForMedia:(TGInstantPageMedia *)media;
|
|
- (void)updateHiddenMedia:(TGInstantPageMedia *)media;
|
|
|
|
@end*/
|