Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
<CPTResponder> Protocol Reference

The basis of all event processing in Core Plot. More...

#import <CPTResponder.h>

+ Inheritance diagram for <CPTResponder>:
+ Collaboration diagram for <CPTResponder>:

Public Instance Methods

User Interaction
(BOOL- pointingDeviceDownEvent:atPoint:
 (Required) Informs the receiver that the user has touched the screen. More...
 
(BOOL- pointingDeviceUpEvent:atPoint:
 (Required) Informs the receiver that the user has lifted their finger off the screen. More...
 
(BOOL- pointingDeviceDraggedEvent:atPoint:
 (Required) Informs the receiver that the user has moved their finger while touching the screen. More...
 
(BOOL- pointingDeviceCancelledEvent:
 (Required) Informs the receiver that tracking of touches has been cancelled for any reason. More...
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 

Detailed Description

The basis of all event processing in Core Plot.

Method Documentation

◆ pointingDeviceCancelledEvent:

- (BOOL) pointingDeviceCancelledEvent: (nonnull CPTNativeEvent *)  event

(Required) Informs the receiver that tracking of touches has been cancelled for any reason.

Parameters
eventThe OS event.
Returns
Whether the event was handled or not.

Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, and CPTPlotAreaFrame.

◆ pointingDeviceDownEvent:atPoint:

- (BOOL) pointingDeviceDownEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has touched the screen.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.

◆ pointingDeviceDraggedEvent:atPoint:

- (BOOL) pointingDeviceDraggedEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has moved their finger while touching the screen.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, CPTPlotAreaFrame, and CPTXYPlotSpace.

◆ pointingDeviceUpEvent:atPoint:

- (BOOL) pointingDeviceUpEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has lifted their finger off the screen.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.


The documentation for this protocol was generated from the following file: