The CardPartSliderView is working well. However, I am always frustrated with dealing the animations (I would want to have it flipping vertically everytime we slide left-right but anything else may be fine). I would like to have an embedded function with only several parameters like duration, slider view object, and the built-in type of animation. I tried using UIView.animate(withDuration:) for this but it's too complicated and it somehow acts weirdly when I run the project (i'm unsure if I am doing it right.) However, if such feature exists already, please let me know ASAP and tell me how to do so. Thanks :)
The CardPartSliderView is working well. However, I am always frustrated with dealing the animations (I would want to have it flipping vertically everytime we slide left-right but anything else may be fine). I would like to have an embedded function with only several parameters like duration, slider view object, and the built-in type of animation. I tried using UIView.animate(withDuration:) for this but it's too complicated and it somehow acts weirdly when I run the project (i'm unsure if I am doing it right.) However, if such feature exists already, please let me know ASAP and tell me how to do so. Thanks :)