IGListKit/Tests/Objects/IGLayoutTestDataSource.h

20 lines
574 B
C
Raw Normal View History

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
@class IGLayoutTestSection;
@interface IGLayoutTestDataSource : NSObject <UICollectionViewDelegateFlowLayout, UICollectionViewDataSource>
@property (nonatomic, copy) NSArray<IGLayoutTestSection *> *sections;
// call before using as the data source so cells and headers are configured
- (void)configCollectionView:(UICollectionView *)collectionView;
@end