objective c - Using CorePlot with OSX for OSX App -
some background: i'm making obj-c project numerical analysis, , want add together graph. found core-plot, , had no problem adding framework , quartzcore frameworks project.
my question how utilise - have project interface through interface builder (mainmenu.xib), appdelegate , class used modelling mathematics. have searched net , can find tutorials utilize within ios, isn't i'm doing - , don't understand how convert osx.
i had assumed add together custom view mainmenu.xib , link new property using someting along lines of
@property (assign) iboutlet nsview *graph;
although @ it, putting nsview object within nsobject interface seems silly.
thanks in advance help!
update 1: changed code
@property (assign) iboutlet cptgraphhostingview *graph;
and changed property of custom view same, cptgraphhostingview. 2 linked, , have outlet called "graph" play with. challenge putting graph space.
thanks again!
objective-c osx cocoa core-plot
No comments:
Post a Comment