Is there any way to listen a Click event in JNWCollectionViewDelegate?
I found this
- (void)collectionView:(JNWCollectionView *)collectionView mouseUpInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;
but it is not what I want.
I think, if a event moved,and up, it isn't a Click event. only a event down and up(with moved),it is a Click.
(my English is poor,hahaha)
Sorry for the delay. I understand what you mean. It would be ideal if there was a click event delegate method that encapsulated the logic for checking if the mouse up event occurred in the same cell as the mouse down event.
Unfortunately I don't have time to add this myself, but pull requests are welcome! It could be done by keeping a reference to the cell that captures the mouse down event, and checking in the mouse up event if the cell is identical.