SwipeView
SwipeView copied to clipboard
A Swift recreation of Tinder.app's swipe view in pure Swift
Hey @jeffbarg – made a series of small fixes to make this compatible. Would love for you to take a look :-)
I got this error message in PileView.swift. ``` func transformForPosition(position : CGFloat) -> CGAffineTransform { var transform : CGAffineTransform = CGAffineTransformIdentity if (self.swipeViews.count > 0) { //Keep transform at identity...
I got this error message for this one ``` init() { swipeCancelledAnimationDuration = 0.2 swipeCancelledAnimationOptions = UIViewAnimationOptions.CurveEaseOut swipeAnimationDuration = 0.15; swipeAnimationOptions = UIViewAnimationOptions.CurveEaseIn; rotationFactor = 3.0; threshold = 100.0 onPan...
I got this error message in PileView.swift. ``` func animateCardInsertion(swipeView : SwipeView, atPosition position : CGFloat) { let prevCount : CGFloat = 0 let transform = self.transformForPosition(Float(position)) // error message...