Timeline Event Handle Class

Description: creating of object for handling of timeline events.

The TimeIndexDelegate.h File

#import <Charting/ChartTimeIndexDelegate.h>
@interface TimeIndexDelegate : NSObject<ChartTimeIndexDelegate>
@end

The TimeIndexDelegate.m File

#import "TimeIndexDelegate.h"
@implementation TimeIndexDelegate
- (void)chartTimeIndexDelegateTimeIndexChanged:(int)index{
    NSLog(@"%@ %d",@"Timeline index is changed, new index value:", index);
}
@end

See also:

Creating a Line Chart