Kevin

Merge pull request #133 from onevcat/patch-1

Make delegate methods optional
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
11 @protocol PNChartDelegate <NSObject> 11 @protocol PNChartDelegate <NSObject>
12 - 12 +@optional
13 /** 13 /**
14 * Callback method that gets invoked when the user taps on the chart line. 14 * Callback method that gets invoked when the user taps on the chart line.
15 */ 15 */
@@ -27,4 +27,4 @@ @@ -27,4 +27,4 @@
27 */ 27 */
28 - (void)userClickedOnBarAtIndex:(NSInteger)barIndex; 28 - (void)userClickedOnBarAtIndex:(NSInteger)barIndex;
29 29
30 -@end 30 +@end