Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
The basis of all event processing in Core Plot. More...
#import <CPTResponder.h>
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: |
The basis of all event processing in Core Plot.
- (BOOL) pointingDeviceCancelledEvent: | (nonnull CPTNativeEvent *) | event |
(Required) Informs the receiver that tracking of touches has been cancelled for any reason.
event | The OS event. |
Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, and CPTPlotAreaFrame.
- (BOOL) pointingDeviceDownEvent: | (nonnull CPTNativeEvent *) | event | |
atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has touched the screen.
event | The OS event. |
interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.
- (BOOL) pointingDeviceDraggedEvent: | (nonnull CPTNativeEvent *) | event | |
atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has moved their finger while touching the screen.
event | The OS event. |
interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, CPTPlotAreaFrame, and CPTXYPlotSpace.
- (BOOL) pointingDeviceUpEvent: | (nonnull CPTNativeEvent *) | event | |
atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has lifted their finger off the screen.
event | The OS event. |
interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.