Image 1

Mostly, to use PHGraphView you have to :
  • Install the framework. I suggest putting it in /Library/Frameworks
  • Add it in your project in xcode
  • Add a controller class (NSObject is fine) with as many IBOutlet as there will be views
  • Add one (or more) Custom View in Interface Builder and declare their classes to be PHGraphView
  • set the outlet(s), and eventually the delegate if you need some custom mouse event handling
  • the rest is just some coding, instantiating axis, graph objects and adding them to your view (or one of your views).

You'll find here (navigate with the sidebar) some screenshots with the relevant source code. The executable and complete xcode project for the examples can be found in the Download section.