mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
25 lines
350 B
Objective-C
25 lines
350 B
Objective-C
#import "TGTooltipWindow.h"
|
|
|
|
@interface TGTooltipWindow ()
|
|
{
|
|
__weak UIView *_anchorView;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation TGTooltipWindow
|
|
|
|
- (instancetype)initWithAnchorView:(UIView *)anchorView
|
|
{
|
|
self = [super initWithFrame:[UIScreen mainScreen].bounds];
|
|
if (self != nil)
|
|
{
|
|
_anchorView = anchorView;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
|
|
|
|
@end
|