Cocoa Graphing/Plotting Framework on iOS
Core Plot
There's a plotting framework in active development on Core Plot.
It works on both Mac and iPhone.
Graph generation on iPhone
I have been keeping my eye on this one:
core-plot
but I haven't yet tried it. Though it seams like it has potential.
chris.
Is there a visualization framework like JUNG for iOS?
Best graph plotting library for iOS is Core plot. It is very powerful, and easy to understand.
But for simple graphs you can use s7graphview library also.
If you want to do it yourself, you can do custom drawing using Core graphics.
Creating Graphs on an iPad/iPhone
Core Plot is one popular option.
Drawing a simple graph on the iPhone
If you would attempt to draw yourself, you'd use the Path functions to draw in a context in Quartz
CGContextBeginPath(context);
CGContextMoveToPoint(context, startX, startY);
CGContextAddLineToPoint(context, nextX, nextY);
// [...] and so on, for all line segments
CGContextSetLineWidth(context, 2);
CGContextSetStrokeColorWithColor(context, [[UIColor blackColor] cgColor]);
CGContextStrokePath(context);
There is a lot of sample code to deal with context and drawing in quartz.
But there are probably some libraries to facilitate drawing graphs... someone else would have to help you with those though, not my cup of tea :)
Cocoa: create graphs
There's the newer, open source, Core Plot.
Objective-C Charting Framework
I use Core Plot. See this blog post for a tutorial.
Related Topics
Looping a Video With Avfoundation Avplayer
How to Debug iOS 8 Extensions With Nslog
How to Handle Background Audio Playing While iOS Device Is Locked or on Another Application
Get a List of All Contacts on Ios
Making Text Bold Using Attributed String in Swift
Getting iOS System Uptime, That Doesn't Pause When Asleep
How to Test Apple Push Notification Service Without an Iphone
Can Afnetworking Return Data Synchronously (Inside a Block)
Detecting Sheet Was Dismissed on iOS 13
How to Compare Two Uiimage Objects
How to Crop a Uiimageview to a New Uiimage in 'Aspect Fill' Mode
Xcode 6 - Xcassets For Universal Image Support
Closure Cannot Implicitly Capture a Mutating Self Parameter
Retrieving Carrier Name from iPhone Programmatically
Xcode 6 Beta 2 Issue Exporting .Ipa: "Your Account Already Has a Valid iOS Distribution Certificate"