mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-06 13:12:49 +00:00
Fix a warning preventing pod spec validation. (#2989)
* Fix a warning preventing pod spec validation. * Add comment, thanks @adlai.
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
collectionNode.delegate = dataSource;
|
||||
__weak IGListAdapter *weakSelf = self;
|
||||
[collectionNode onDidLoad:^(__kindof ASCollectionNode * _Nonnull collectionNode) {
|
||||
weakSelf.collectionView = collectionNode.view;
|
||||
// We manually set the superclass of ASCollectionView to IGListCollectionView at runtime.
|
||||
// Issue tracked at https://github.com/Instagram/IGListKit/issues/409
|
||||
weakSelf.collectionView = (IGListCollectionView *)collectionNode.view;
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user