mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-24 09:48:21 +00:00
Fix some IGCollectionView unavaliable methods hint
Summary: - [x] All tests pass. Demo project builds and runs. - [ ] I added tests, an experiment, or detailed why my change isn't tested. - [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) I guess there's some mistake in unavailable hints Closes https://github.com/Instagram/IGListKit/pull/479 Differential Revision: D4543489 Pulled By: rnystrom fbshipit-source-id: fb925fad04d2931fbfd0e26a87d36f85eee0b2e9
This commit is contained in:
parent
727833409f
commit
74e797c6fd
1 changed files with 8 additions and 8 deletions
|
|
@ -23,7 +23,7 @@ IGLK_SUBCLASSING_RESTRICTED
|
|||
:nodoc:
|
||||
*/
|
||||
- (void)performBatchUpdates:(void (^)(void))updates
|
||||
completion:(void (^)(BOOL))completion IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesWithCompletion:] instead");
|
||||
completion:(void (^)(BOOL))completion IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesAnimated:completion:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
|
|
@ -33,37 +33,37 @@ IGLK_SUBCLASSING_RESTRICTED
|
|||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)reloadSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter reloadItems:] instead");
|
||||
- (void)reloadSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter reloadObjects:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)insertSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesWithCompletion:] instead");
|
||||
- (void)insertSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesAnimated:completion:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)deleteSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesWithCompletion:] instead");
|
||||
- (void)deleteSections:(NSIndexSet *)sections IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesAnimated:completion:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)moveSection:(NSInteger)section toSection:(NSInteger)newSection IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesWithCompletion:] instead");
|
||||
- (void)moveSection:(NSInteger)section toSection:(NSInteger)newSection IGLK_UNAVAILABLE("Call -[IGListAdapter performUpdatesAnimated:completion:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)insertItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> insertSectionController:forItems:completion:] instead");
|
||||
- (void)insertItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> insertInSectionController:atIndexes:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)reloadItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> reloadSectionController:forItems:completion:] instead");
|
||||
- (void)reloadItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> reloadInSectionController:atIndexes:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
*/
|
||||
- (void)deleteItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> deleteSectionController:forItems:completion:] instead");
|
||||
- (void)deleteItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths IGLK_UNAVAILABLE("Call -[<IGListCollectionContext> deleteInSectionController:atIndexes:] instead");
|
||||
|
||||
/**
|
||||
:nodoc:
|
||||
|
|
|
|||
Loading…
Reference in a new issue