ADGraphView is an iOS drop-in classes that displays scrollable and zoomable with user friendly pinch gesture graph.
ADGraphView works on any iOS version only greater or equal than 5.0 and is compatible with only ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates:
- Foundation.framework
- UIKit.framework
- CoreGraphics.framework
You will need LLVM 3.0 or later in order to build ADGraphView.
The simplest way to add the ADGraphView to your project is to directly add the source files and resources to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, than drag and drop all files from Source directory and GraphResources onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
- Include ADGraphView wherever you need it with
#import "GraphView.h"
.
In ADGraphView project there is a demo UIViewController (as viewController.m) which show a simple usage example.
This code is distributed under the terms and conditions of the MIT license.
Version 0.51 @ 25.2.13
- Fix incorrect anchor points bug.
Version 0.5 @ 25.2.13
- Initial release.