continueTracking(last:current:in:)
Returns a Boolean value that indicates whether mouse tracking should continue in the receiving cell.
Declaration
func continueTracking(last lastPoint: NSPoint, current currentPoint: NSPoint, in controlView: NSView) -> BoolParameters
- lastPoint:
Contains either the initial location of the cursor when tracking began or the previous current point.
- currentPoint:
The current location of the cursor.
- controlView:
The
NSControlobject managing the receiver.
Return Value
Discussion
This method is invoked in trackMouse(with:in:of:untilMouseUp:). The default implementation returns true if the cell is set to continuously send action messages to its target when the mouse button is down or the mouse is being dragged. Subclasses can override this method to provide more sophisticated tracking behavior.