iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIPublishEvents
@protocol ISCIPublishEvents <NSObject>
Defines the protocol to a class which publishes motion events.
-
Adds an events receiver to this source.
Declaration
Objective-C
- (void)addEventReceiver:(nonnull id<ISCIReceiveEvents>)receiver;
Swift
func addEventReceiver(_ receiver: ISCIReceiveEvents)
Parameters
receiver
The receiver to add.
-
Removes an events receiver from this source.
Declaration
Objective-C
- (void)removeEventReceiver:(nonnull id<ISCIReceiveEvents>)receiver;
Swift
func removeEventReceiver(_ receiver: ISCIReceiveEvents)
Parameters
receiver
The receiver to remove.