AMVennDiagramView is a view can display the diagram like Venn diagram.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AMVennDiagram
AMVennDiagramView.xcodeproj
AMVennDiagramView
SampleAMVennDiagram
.gitignore
AMVennDiagramView.podspec
LICENSE Initial commit Feb 17, 2018
README.md

README.md

AMVennDiagramView

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