mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-24 06:21:55 +00:00
Closes #99. This is a quick sketch -- room for improvement includes considering a less-questionable class name, potentially exposing additional UIScrollView functionality directly on the node, and using it in a sample project.
24 lines
522 B
Plaintext
24 lines
522 B
Plaintext
/* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import "ASScrollNode.h"
|
|
|
|
#import "ASDisplayNodeInternal.h"
|
|
|
|
@implementation ASScrollNode
|
|
|
|
- (instancetype)init
|
|
{
|
|
if (!(self = [super initWithViewClass:UIScrollView.class]))
|
|
return nil;
|
|
|
|
return self;
|
|
}
|
|
|
|
@end
|