hryk224 / InfiniteCollectionView

Infinite horizontal scrolling using UICollectionView.
MIT License
227 stars 43 forks source link

Changed delegate call from collectionView to infiniteCollectionView #7

Closed rafcabezas closed 8 years ago

rafcabezas commented 8 years ago

This removes potential error: "Objective-C method 'collectionView:didSelectItemAtIndexPath:' provided by method 'collectionView(_:didSelectItemAt:)' does not match the requirement's selector ('collectionView:didSelectItemAt:')"

Full error I get on Xcode8 - iOS 9.3 target is: "InfiniteCollectionView.InfiniteCollectionView:2:17: error: Objective-C method 'collectionView:didSelectItemAtIndexPath:' provided by method 'collectionView(:didSelectItemAt:)' does not match the requirement's selector ('collectionView:didSelectItemAt:') public func collectionView( collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)"

hryk224 commented 8 years ago

thx!