Latest 1.0
Homepage https://github.com/adventam10/AMVennDiagramView
License MIT
Platforms ios 9.0, requires ARC
Authors

AMVennDiagramView is a view can display the diagram like Venn diagram. It displays two circles whose area ratio is almost an accurate.

Demo

2018-02-17 18 31 11

Usage

// property
@IBOutlet weak private var vennDiagramView: AMVennDiagramView!
private var timer:Timer?

override func viewDidLoad() {
super.viewDidLoad()

vennDiagramView.setupVennDiagram(value1: 1000, value2: 500, commonValue: 200)
vennDiagramView.dataSource = self
}

Installation

CocoaPods

Add this to your Podfile.

pod 'AMVennDiagramView'

Carthage

Add this to your Cartfile.

github "adventam10/AMVennDiagramView"

License

MIT

Latest podspec

{
    "name": "AMVennDiagramView",
    "version": "1.0",
    "summary": "AMVennDiagramView is a view can display the diagram like Venn diagram.",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/adventam10/AMVennDiagramView",
    "authors": {
        "am10": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adventam10/AMVennDiagramView.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "AMVennDiagram/*.{swift}",
    "swift_version": "4.0"
}

Pin It on Pinterest

Share This