mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-05 04:10:16 +00:00
* Need to check availability before use of macros. * Get rid of PCH and enforce macro definition. * Remove prefix * Switch to global warning instead, much better.
29 lines
648 B
Objective-C
29 lines
648 B
Objective-C
//
|
|
// ASIGListAdapterBasedDataSource.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Adlai Holler on 1/19/17.
|
|
// Copyright © 2017 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <AsyncDisplayKit/ASAvailability.h>
|
|
|
|
#if AS_IG_LIST_KIT
|
|
|
|
#import <IGListKit/IGListKit.h>
|
|
#import <AsyncDisplayKit/ASCollectionView.h>
|
|
#import <AsyncDisplayKit/ASCollectionNode.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
AS_SUBCLASSING_RESTRICTED
|
|
@interface ASIGListAdapterBasedDataSource : NSObject <ASCollectionDataSourceInterop, ASCollectionDelegateInterop, ASCollectionDelegateFlowLayout>
|
|
|
|
- (instancetype)initWithListAdapter:(IGListAdapter *)listAdapter;
|
|
|
|
@end
|
|
|
|
#endif
|
|
|
|
NS_ASSUME_NONNULL_END
|