Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Add optional delegate method didPressItem: #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AJMiller
Copy link

This pull request adds an optional delegate method pickerView(pickerView: AKPickerView, didPressItem: Int) to fire a separate event when an item is single tapped. It also adds a public flag to disable didSelectItem: delegate method calls if a user would prefer to receive didSelectItem: delegate method calls only when an item is scrolled to, not when
an item is single tapped. This commit should be backward compatible with existing codebases.

AJ Miller added 4 commits October 26, 2016 10:26
pickerView(pickerView: AKPickerView, didPressItem: Int) to fire a separate event
when a horizontal item is single tapped. Also adds a public flag to disable
didSelectItem: delegate method calls if a user would prefer to receive
didSelectItem: delegate method calls only when an item is scrolled to, not when
an item is single tapped. This commit does not cause any breaking changes with
existing codebases.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant