Files
GLEGram-iOS/submodules/LegacyComponents/PublicHeaders/LegacyComponents/TGTooltipView.h
T
Leeksov 4647310322 GLEGram 12.5 — Initial public release
Based on Swiftgram 12.5 (Telegram iOS 12.5).
All GLEGram features ported and organized in GLEGram/ folder.

Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass,
Font Replacement, Fake Profile, Chat Export, Plugin System, and more.

See CHANGELOG_12.5.md for full details.
2026-04-06 09:48:12 +03:00

30 lines
710 B
Objective-C

#import <UIKit/UIKit.h>
#import <LegacyComponents/ASWatcher.h>
@interface TGTooltipView : UIView
@property (nonatomic, assign) CGFloat maxWidth;
@property (nonatomic, weak) UIView *sourceView;
@property (nonatomic) NSInteger numberOfLines;
@property (nonatomic, assign) bool forceArrowOnTop;
- (void)setText:(NSString *)text animated:(bool)animated;
@end
@interface TGTooltipContainerView : UIView
@property (nonatomic, strong) TGTooltipView *tooltipView;
@property (nonatomic, readonly) bool isShowingTooltip;
@property (nonatomic) CGRect showingTooltipFromRect;
- (void)showTooltipFromRect:(CGRect)rect;
- (void)showTooltipFromRect:(CGRect)rect animated:(bool)animated;
- (void)hideTooltip;
@end