• 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: Ideas to implement a view displaying a graph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ideas to implement a view displaying a graph


  • Subject: Re: Ideas to implement a view displaying a graph
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 16 Apr 2006 19:23:16 +0200


Am 16.04.2006 um 18:45 schrieb Damien Bobillot:
I wonder if it's a good idea to use the NSControl-NSCell paradigm : a big NSControl for the drawing space and NSCell for the nodes. Or perhaps use a NSView for the drawing space and other NSView for each node, or only one NSView with custom drawing of the content (node+link).

Unless NSCell provides functionality you're interested in (i.e. you want buttons, sliders, image well or edit fields as your nodes), I wouldn't use it in this case. IMHO NSCell would be overkill. Of course it's different if you may also want to use your nodes in an NSMatrix or NSControl...


Any ideas ? If someone has already worked on a vector graphics editor, I'm also interested, as I think it's almost the same structure.

Have you checked out the Sketch sample in /Developer/Examples/ ? That does it pretty much the way I'd expect an app to do it.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: 
 >Ideas to implement a view displaying a graph (From: Damien Bobillot <email@hidden>)

  • Prev by Date: Re: Open System Preferences?
  • Next by Date: Re: Open System Preferences?
  • Previous by thread: Ideas to implement a view displaying a graph
  • Next by thread: Re: Ideas to implement a view displaying a graph
  • Index(es):
    • Date
    • Thread