Build ChatListUI

This commit is contained in:
Ali
2020-02-22 15:38:54 +04:00
parent f57d6b6168
commit 5380b12805
1510 changed files with 643 additions and 309 deletions

View File

@@ -0,0 +1,24 @@
#import "TGPhotoPaintSettingsWrapperView.h"
@implementation TGPhotoPaintSettingsWrapperView
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
UIView *view = [super hitTest:point withEvent:event];
if (view == self)
{
CGPoint location = [self convertPoint:point toView:nil];
if (self.pressed != nil)
self.pressed(location);
if (self.suppressTouchAtPoint != nil && self.suppressTouchAtPoint(location))
return view;
return nil;
}
return view;
}
@end