mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
28 lines
676 B
Mathematica
28 lines
676 B
Mathematica
|
#import "UIScrollView+TGHacks.h"
|
||
|
|
||
|
#import <objc/message.h>
|
||
|
|
||
|
@implementation UIScrollView (TGHacks)
|
||
|
|
||
|
- (void)stopScrollingAnimation
|
||
|
{
|
||
|
UIView *superview = self.superview;
|
||
|
NSUInteger index = [self.superview.subviews indexOfObject:self];
|
||
|
[self removeFromSuperview];
|
||
|
[superview insertSubview:self atIndex:index];
|
||
|
|
||
|
/*static SEL selector = NULL;
|
||
|
static dispatch_once_t onceToken;
|
||
|
dispatch_once(&onceToken, ^
|
||
|
{
|
||
|
selector = NSSelectorFromString(TGEncodeText(@"`tupqTdspmmEfdfmfsbujpoOpujgz;", -1));
|
||
|
});
|
||
|
|
||
|
if (selector != NULL && [self respondsToSelector:selector])
|
||
|
{
|
||
|
objc_msgSend(self, selector, true);
|
||
|
}*/
|
||
|
}
|
||
|
|
||
|
@end
|