Added basic multi touch behavior #41

Open
wants to merge 1 commit into from

1 participant

@techiemac

I realize the future use here is to add a UIGestureRecognizer (and I think that too is very beneficial) but I added some changes that enable multi finger touch behavior since I needed a 2 finger touch. This commit adds a backwards compatible "numFingersTouch" parameter to willSelectItemAtIndex and didSelectItemAtIndex.

The parameter contains the actual number of fingers used to touch the selection. Keep in mind that only one of the fingers needs to be in bounds since the idea was to capture user intent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment