Beginner Question About CustomView, -drawRect: and Plotting Data.
Beginner Question About CustomView, -drawRect: and Plotting Data.
- Subject: Beginner Question About CustomView, -drawRect: and Plotting Data.
- From: Daniel J Farrell <email@hidden>
- Date: Tue, 27 Jun 2006 11:10:35 +0100
Hi folks,
I have a CustomView that does some NSBezierPath drawing from an array
of data point that I pass it: I'm plotting some scientific data.
At the moment the only way I can get a custom view to draw is my
placing the data inside the -drawRect: method. So my question is: How
can I make a method that will plot my data on the custom view every
time I call the method e.g. something like -drawRect:WithXData:YData: ?
Regards,
Daniel.
PS - Rather than clogging this post up with code I'd thought I'd
leave it out but can post if you need to see it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden