Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Simple Graphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Graphs



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.

And 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

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


References: 
 >Music File information (From: Aalok <email@hidden>)
 >Re: Music File information (From: Julio Cesar Silva dos Santos <email@hidden>)
 >Simple Graphs (From: Neto <email@hidden>)
 >Re: Simple Graphs (From: Scott Ellsworth <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.