To run the example project, clone the repo, and run pod install
from the Example directory first.
// Initalizes the UIViewController
let summaryViewController = DataSummary()
// Gets a set of example data
let data = SData.getExampleData()
// Converts the data to a statistical format
let statistics = DataSummaryWorker.generateStatisticalData(from: data)
// Prepares the UIViewController with the provided data
summaryViewController.setup(sections: statistics)
// Present the DataSummary
present(summaryViewController, animated: true, completion: nil)
DataSummary is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DataSummary'
olaf.ovrum@gmail.com, olaf@huconglobal.com
DataSummary is available under the MIT license. See the LICENSE file for more info.