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)"
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)"