mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-15 16:36:36 +00:00
* 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
29 lines
607 B
Objective-C
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
|