Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Just a heads up: Charts 3.0 has some breaking changes. Please read the release/migration notes.
Another heads up: ChartsRealm is now in a separate repo. Pods is also now Charts and ChartsRealm, instead of Charts/Core and Charts/Realm
- Xcode 9.0 / Swift 4.0
- iOS >= 8.0 (Use as an Embedded Framework)
- tvOS >= 9.0
- macOS >= 10.11
Okay so there's this beautiful library called MPAndroidChart by Philipp Jahoda which has become very popular amongst Android developers, and in the meanwhile there's no decent charting solution for iOS.
I've chosen to write it in Swift as it can be highly optimized by the compiler, and can be used in both Swift and ObjC project. The demo project is written in ObjC to demonstrate how it works.
An amazing feature of this library now, for Android, iOS, tvOS and macOS, is the time it saves you when developing for both platforms, as the learning curve is singleton- it happens only once, and the code stays very similar so developers don't have to go around and re-invent the app to produce the same output with a different library. (And that's not even considering the fact that there's not really another good choice out there currently...)
Subscribe to iOS Example
Get the latest posts delivered right to your inbox