Re: Simple Graphs
Re: Simple Graphs
- Subject: Re: Simple Graphs
- From: "Jordan Krushen" <email@hidden>
- Date: Tue, 30 May 2006 23:56:41 -0700
On 5/30/06, Scott Ellsworth <email@hidden> wrote:
On May 30, 2006, at 9:00 PM, Neto wrote:
> I'm a beginner in XCode and I need to add simple bar graphs to my
> application, if possible, bind them to NSTextFields.
> Is there a straight forward method to do this?
If you are willing to target 10.3 and higher, you can create your
NSView subclass, then bind it to appropriate data using Cocoa
Bindings. (Check the Apple docs for same.) This often has less code
than a solution using standard IBOutlets, but each has their place.
If you're able to target 10.4+, check out Quartz Composer:
file:///Developer/ADC Reference Library/documentation/GraphicsImaging/Conceptual/QuartzComposer/qc_concepts/chapter_2_section_1.html
It's not 'simple' but it is powerful and bindings-friendly.
J.
_______________________________________________
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