Swiftgram/examples/ASDKgram/Sample/ASCollectionSectionController.h
Adlai Holler 38aac9d019 IGListKit Support II: Electric Boogaloo (#2942)
* Reimplement IGListKit support in a cleaner way

* Rename and fix some stuff

* Fix supplementaries more

* Update docs

* Update test

* Cleanup minor things

* Tweak it

* Indentation

* Remove irrelevant changes

* Break out cell into its own file

* Fix indentation

* Address feedback
2017-01-30 11:16:59 -08:00

29 lines
607 B
Objective-C

//
// ASCollectionSectionController.h
// Sample
//
// Created by Adlai Holler on 12/29/16.
// Copyright © 2016 Facebook. All rights reserved.
//
#import <IGListKit/IGListKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ASCollectionSectionController : IGListSectionController
/**
* The items managed by this section controller.
*/
@property (nonatomic, strong, readonly) NSArray<id<IGListDiffable>> *items;
- (void)setItems:(NSArray<id<IGListDiffable>> *)newItems
animated:(BOOL)animated
completion:(nullable void(^)())completion;
- (NSInteger)numberOfItems;
@end
NS_ASSUME_NONNULL_END