I have a bunch of UICollectionViewCells
containing buttons. For some reason, my signal refuses to fire when a button is inside of a UICollectionViewCell
. Switching to the normal addTarget:action:forControlEvents:
will work, but not the RAC signal. I've had this happen in 2 different collection views, and 2 different custom collection cells.
All I'm doing is:
[[cell.button rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(id x) {
// code to be executed here, which doesn't happen
}];
What am I missing?