Slide animation between UIButtons

791 views Asked by At

I have been trying to set slide left & right animation between UIButtons which is located on the image below, a user can drags the right button to center button(right to left) and similarly drags the left button to center button(left to right). Also, after dragging process finished, if the user dragged left button to the center, left button will be the current button and current button will be the previous button. After this operation, the new view will be as 2nd week(previous), 3rd Week(current), 4th Week(next). Is there any possible way to make this animation between these UIButtons? visualization

1

There are 1 answers

1
vveleva On

You can use slick carousel's Center Mode. It does exactly what you're looking for! It looks great and is easy to use.