Merge pull request #160 from michaelzischka/master
Small cleanup and increased version number of used CocoaPod module
Showing
3 changed files
with
6 additions
and
7 deletions
| @@ -276,7 +276,6 @@ | @@ -276,7 +276,6 @@ | ||
| 276 | } | 276 | } |
| 277 | 277 | ||
| 278 | if (_showLabel) { | 278 | if (_showLabel) { |
| 279 | - NSString *str; | ||
| 280 | //drawing x steps vector and putting axis x labels | 279 | //drawing x steps vector and putting axis x labels |
| 281 | float temp = _startPointVectorX.x + (_vectorX_Steps / 2) ; | 280 | float temp = _startPointVectorX.x + (_vectorX_Steps / 2) ; |
| 282 | for (int i = 0; i < _axisX_labels.count; i++) { | 281 | for (int i = 0; i < _axisX_labels.count; i++) { |
| @@ -291,7 +290,6 @@ | @@ -291,7 +290,6 @@ | ||
| 291 | [self.horizentalLinepathLayer addObject:shapeLayer]; | 290 | [self.horizentalLinepathLayer addObject:shapeLayer]; |
| 292 | [self.layer addSublayer:shapeLayer]; | 291 | [self.layer addSublayer:shapeLayer]; |
| 293 | UILabel *lb = [_axisX_labels objectAtIndex:i] ; | 292 | UILabel *lb = [_axisX_labels objectAtIndex:i] ; |
| 294 | - str = lb.text; | ||
| 295 | [self showXLabel:lb InPosition:CGPointMake(temp - 15, _startPointVectorX.y + 10 )]; | 293 | [self showXLabel:lb InPosition:CGPointMake(temp - 15, _startPointVectorX.y + 10 )]; |
| 296 | temp = temp + _vectorX_Steps ; | 294 | temp = temp + _vectorX_Steps ; |
| 297 | } | 295 | } |
| @@ -309,7 +307,6 @@ | @@ -309,7 +307,6 @@ | ||
| 309 | [self.verticalLineLayer addObject:shapeLayer]; | 307 | [self.verticalLineLayer addObject:shapeLayer]; |
| 310 | [self.layer addSublayer:shapeLayer]; | 308 | [self.layer addSublayer:shapeLayer]; |
| 311 | UILabel *lb = [_axisY_labels objectAtIndex:i]; | 309 | UILabel *lb = [_axisY_labels objectAtIndex:i]; |
| 312 | - str = lb.text; | ||
| 313 | [self showXLabel:lb InPosition:CGPointMake(_startPointVectorY.x - 30, temp - 5)]; | 310 | [self showXLabel:lb InPosition:CGPointMake(_startPointVectorY.x - 30, temp - 5)]; |
| 314 | temp = temp - _vectorY_Steps ; | 311 | temp = temp - _vectorY_Steps ; |
| 315 | } | 312 | } |
| 1 | PODS: | 1 | PODS: |
| 2 | - - UICountingLabel (1.0.0) | 2 | + - UICountingLabel (1.2.0) |
| 3 | 3 | ||
| 4 | DEPENDENCIES: | 4 | DEPENDENCIES: |
| 5 | - - UICountingLabel (~> 1.0.0) | 5 | + - UICountingLabel (~> 1.2.0) |
| 6 | 6 | ||
| 7 | SPEC CHECKSUMS: | 7 | SPEC CHECKSUMS: |
| 8 | - UICountingLabel: 0a0e9e34bf4690dbd127aaec552d19ed938087a9 | 8 | + UICountingLabel: a55223a9357af71f833af76665164d2e3f3654b5 |
| 9 | 9 | ||
| 10 | COCOAPODS: 0.34.4 | 10 | COCOAPODS: 0.34.4 |
-
Please register or login to post a comment