• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple Graphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: Re: NSBrowser's selectRow: inColumn: delegate
  • Next by Date: Many-to-many coredata fetch request
  • Previous by thread: Re: Simple Graphs
  • Next by thread: Re: Music File information
  • Index(es):
    • Date
    • Thread