OlafAndreas / DataSummary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataSummary

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

		// 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)

Requirements

Installation

DataSummary is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DataSummary'

Author

olaf.ovrum@gmail.com, olaf@huconglobal.com

License

DataSummary is available under the MIT license. See the LICENSE file for more info.

About

License:MIT License


Languages

Language:Swift 98.0%Language:Ruby 2.0%