Created
September 2, 2014 22:29
-
-
Save alwold/6a6e330bdeb59aadd975 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CPTMutablePlotRange+SwiftCompat.m | |
// CorePlotTest | |
// | |
// Created by Al Wold on 8/29/14. | |
// Copyright (c) 2014 Al Wold. All rights reserved. | |
// | |
#import "CPTMutablePlotRange+SwiftCompat.h" | |
@implementation CPTMutablePlotRange (SwiftCompat) | |
- (void)setLengthFloat:(float)lengthFloat | |
{ | |
NSNumber *number = [NSNumber numberWithFloat:lengthFloat]; | |
[self setLength:[number decimalValue]]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment