I need to draw a curve defined from an object (myMatrix class), more
precisely: calculated from an instance of myMatrix indicated in my
main window.

I have a 2nd window called "Calculation..." where I have to precise a
few parameters for this calculation. I created myView, a subclass of
NSView and defined a customView as belonging to myView class in my

What is then the best way to define a new drawRect method, that need
to have access to the myMatrix instance I have to work on?

Thank you,