Swiftgram/AsyncDisplayKit/ASScrollNode.mm
Nadine Salter ad57e126e7 Simple UIScrollView wrapper node.
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.
2015-01-24 12:11:59 -08:00

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