Utilizing Facebook’s POP animation framework to simplify things, and offer an even more from the package animation that is dynamic we use a POPBasicAnimation into the card translating it is X and Y origin to a value from the display screen.

Utilizing Facebook’s POP animation framework to simplify things, and offer an even more from the package animation that is dynamic we use a POPBasicAnimation into the card translating it is X and Y origin to a value from the display screen.

When this animation is complete I call my delegate function self.delegate?.didEndSwipe(onView: self) and depend on my delegate (which added this SwipeableView as being a subview) to get rid of this SwipeableView being a subview. Continue reading “Utilizing Facebook’s POP animation framework to simplify things, and offer an even more from the package animation that is dynamic we use a POPBasicAnimation into the card translating it is X and Y origin to a value from the display screen.”