FavoriteMover
final class FavoriteMover : NSObject
Manages the movement of a Favorite cells in a UICollectionView
-
Create a new mover for the given view and long-press gesture recognizer.
Declaration
Swift
init(view: UICollectionView, recognizer: UILongPressGestureRecognizer)
Parameters
view
the view to manage
recognizer
the long-press gesture recognizer that triggers a move.