Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegate for return key when not completing token #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjarvis
Copy link

@mjarvis mjarvis commented May 9, 2016

When the user has the VENTokenField focused, and only has completed tokens, or no text at, tapping the return key now calls a new delegate method tokenFieldDidReturn:.

This is useful for the user to confirm entry of tokens, allowing the app to move focus to another text field or view.

tokenField:didEnterText: functionality has no change, and the code is written such that these two delegate methods are never called simultaneously.

I'm not at all certain that the naming of this delegate method is correct. Please feel free to suggest alternatives.

When the user has the VENTokenField focused, and only has completed tokens, or no text at, tapping the return key now calls a new delegate method `tokenFieldDidReturn:`.

This is useful for the user to confirm entry of tokens, allowing the app to move focus to another text field or view.

`tokenField:didEnterText:` functionality has no change, and the code is written such that these two delegate methods are never called simultaneously.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant