I have a class that implements the UICollectionViewDelegate protocol.
I'm using rac_signalForSelector: to register selection like this:
[self rac_signalForSelector:@selector(collectionView:didSelectItemAtIndexPath:)]
but it only fires if I leave in an empty implementation of collectionView:didSelectItemAtIndexPath: like this:
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
// Empty
}
I tried with rac_signalForSelector:fromProtocol: as well without luck.
I'm using Reactive Cocoa 2.2.4
Thanks, Mikkel