Swiftgram/Source/IGListAdapter+AsyncDisplayKit.h
2017-02-26 18:14:13 -08:00

35 lines
791 B
Objective-C

//
// IGListAdapter+AsyncDisplayKit.h
// AsyncDisplayKit
//
// Created by Adlai Holler on 1/19/17.
// Copyright © 2017 Facebook. All rights reserved.
//
#if IG_LIST_KIT
#import <IGListKit/IGListKit.h>
NS_ASSUME_NONNULL_BEGIN
@class ASCollectionNode;
@interface IGListAdapter (AsyncDisplayKit)
/**
* Connect this list adapter to the given collection node.
*
* @param collectionNode The collection node to drive with this list adapter.
*
* @note This method may only be called once per list adapter,
* and it must be called on the main thread. -[UIViewController init]
* is a good place to call it. This method does not retain the collection node.
*/
- (void)setASDKCollectionNode:(ASCollectionNode *)collectionNode;
@end
NS_ASSUME_NONNULL_END
#endif // IG_LIST_KIT