TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2015 |
SPMSupports SPM | ✗ |
Maintained by Karry Oberes.
For Objective C Go to Build Settings of your project and search for Packaging. Under it you would find Defines Module, then change it to Yes. Then build your project after.
import GraphingApp
//GraphingAppData.sharedInstance.setBarGraph([0.48, 2.0, 0.9, 1.68, 0.48], label: [“one”, “two”, “three”, “four”, “five”])
//GraphingAppData.sharedInstance.bckgrndImage = UIImage(named: “test”)
//GraphingAppData.sharedInstance.setLineGraph([0.36, 3.0, 0.28, 1.68, 0.72], label: [“one”, “two”, “three”, “four”, “five”])
//GraphingAppData.sharedInstance.bckgrndImage = UIImage(named: “sample”)
GraphingAppData.sharedInstance.setPieGraph([0.48, 2.0, 0.9, 1.68, 0.48, 1.78, 0.78, 2.48], label: [“test”, “try”, “exam”, “part”, “go”, “nice”, “add”, “any”])
@import GraphingApp;
//[[GraphingAppData sharedInstance]setLineGraph:@[@0.48, @2.0, @0.9, @1.68, @0.48] label:@[@“one”, @“two”, @“three”, @“four”, @“five”]];
//[GraphingAppData sharedInstance].bckgrndImage = [UIImage imageNamed:@“sample”];
//[[GraphingAppData sharedInstance]setLineGraph:@[@0.36, @3.0, @0.28, @1.68, @0.72] label:@[@“one”, @“two”, @“three”, @“four”, @“five”]];
//[GraphingAppData sharedInstance].bckgrndImage = [UIImage imageNamed:@“sample”];
[[GraphingAppData sharedInstance] setPieGraph:@[@0.48, @2.0, @0.9, @1.68, @0.48, @1.78, @0.78, @2.48] label:@[@“test”, @“try”, @“exam”, @“part”, @“go”, @“nice”, @“add”, @“any”]];
GraphingApp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GraphingApp"
GraphingApp is available under the MIT license. See the LICENSE file for more info.