• 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: Dashboard-like canvas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dashboard-like canvas


  • Subject: Re: Dashboard-like canvas
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 21 Jan 2008 10:24:43 -0500


Anyway, I was wondering if anyone had any knowledge if there was a framework that would allow me to create a Dashboard-like canvas so I can layout my objects on my document-based application. I found MySQL Workbench to be almost what I wanted.

I google-image'd "MySQL Workbench" and see that it looks very much like XCode's data modeler. While not trivial, it's not terribly difficult to do.


You can take a look at the Sketch example code in your Developer folder. That'll get you close, but it uses one view and draws the individual elements into the view. This may be difficult for complicated elements (with lots of little controls, etc.).

If you *are* implementing a more complicated element control (like the data modeler's expanding/contracting list of text fields, etc.), I'd recommend taking a view/subview approach:

Canvas View <---->> Element View (added as subview)

This will be a poor performer, however, if you have "a lot" of subviews. "A lot" depends on complexity of the element subview, etc.

You can also draw the connecting lines in the canvas view, using the element subview's frames to determine the lines' locations.

  I hope this helps / is somewhat clear.

--
I.S.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Dashboard-like canvas (From: Rick Langschultz <email@hidden>)

  • Prev by Date: Dashboard-like canvas
  • Next by Date: Re: Dashboard-like canvas
  • Previous by thread: Dashboard-like canvas
  • Next by thread: Re: Dashboard-like canvas
  • Index(es):
    • Date
    • Thread