Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -94,6 +94,6 @@ typedef NSString *(^PNYLabelFormatter)(CGFloat yLabelValue); | @@ -94,6 +94,6 @@ typedef NSString *(^PNYLabelFormatter)(CGFloat yLabelValue); | ||
| 94 | /** Controls whether text for x-axis be straight or rotate 45 degree. */ | 94 | /** Controls whether text for x-axis be straight or rotate 45 degree. */ |
| 95 | @property (nonatomic) BOOL rotateForXAxisText; | 95 | @property (nonatomic) BOOL rotateForXAxisText; |
| 96 | 96 | ||
| 97 | -@property (nonatomic, retain) id<PNChartDelegate> delegate; | 97 | +@property (nonatomic, weak) id<PNChartDelegate> delegate; |
| 98 | 98 | ||
| 99 | @end | 99 | @end |
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | */ | 17 | */ |
| 18 | - (void)strokeChart; | 18 | - (void)strokeChart; |
| 19 | 19 | ||
| 20 | -@property (nonatomic, retain) id<PNChartDelegate> delegate; | 20 | +@property (nonatomic, weak) id<PNChartDelegate> delegate; |
| 21 | 21 | ||
| 22 | @property (nonatomic) NSArray *xLabels; | 22 | @property (nonatomic) NSArray *xLabels; |
| 23 | @property (nonatomic) NSArray *yLabels; | 23 | @property (nonatomic) NSArray *yLabels; |
-
Please register or login to post a comment