GroupDrag
private struct GroupDrag
The preview and placement state for a drag of an entire group.
-
The original group being moved.
Declaration
Swift
let group: TimerGroup -
The group’s section index when the drag began.
Declaration
Swift
let source: Int -
The current proposed section for the group.
Declaration
Swift
var destination: Int -
The original row rectangle in collection view coordinates.
Declaration
Swift
let frame: CGRect -
The vertical offset from the touch to the row’s center.
Declaration
Swift
let grabOffsetY: CGFloat -
The rendered row that follows the touch.
Declaration
Swift
let preview: UIView -
The recognizer that supplies the drag state and touch position.
Declaration
Swift
let gesture: UILongPressGestureRecognizer
View on GitHub
Install in Dash