Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//
// 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
You can’t perform that action at this time.