Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fix a warning preventing pod spec validation. (#2989)
Browse files Browse the repository at this point in the history
* Fix a warning preventing pod spec validation.

* Add comment, thanks @adlai.
  • Loading branch information
garrettmoon committed Feb 6, 2017
1 parent 1917cfe commit a338d81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AsyncDisplayKit/IGListAdapter+AsyncDisplayKit.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ - (void)setASDKCollectionNode:(ASCollectionNode *)collectionNode
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;
}];
}

Expand Down

0 comments on commit a338d81

Please sign in to comment.