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

Scroll to closest value and willChangeScaleValue() added #6

Open
wants to merge 2 commits into
base: swift3
Choose a base branch
from

Conversation

keblodev
Copy link

@keblodev keblodev commented Nov 20, 2016

There's a need to have notification BEFORE picker's value is gonna change

  • small refactoring on comparing the current value (is current == newValue -> no need to propagate the change)

  • scroll to closest value refactored -> now instead of need to set the EXACT value for picker if you wanna set it outside -> you can set the approximate you need and picker will scroll to closest corresponding (in my project i'm working on I need to set initial default values every time I load the view with the picker)

the project I'm using this in is located here: https://github.com/ronanamsterdam/capio/tree/_rz-picker

@kronik please take a look one have a chance. Thanks.

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