Need help with controlling quartz view
hey,
I am making an application where I am going to use quartz to make a graph. I got it to work fine so that quartz is set up in its own little view and is all set up to receive points and then graph.
The problem is that I calculate these points in my viewController. I have zero formal education in how the organization of classes and could really use some help.
All I need is to be able to have the drawRect method in the quartz view be able to access the points that I calculate in the view controller. Is there some simple way to send over the info, declare a public variable, or do I need to set up the quartz view subordinate to the view controller. I have spent a lot of time on this and just cannot figure it out.
Help is greatly appreciated!!
|