Dashboard-like canvas

  • Hey there everyone,

    I want to make a Dashboard-like canvas for my application. But to date
    I have only been able to find one open source application that creates
    anything close to this effect -- MySQL's MySQL Workbench. It is
    clearly a mix of C++ and Cocoa.

    I was wondering if anyone out there had a framework or example of
    anything I can use as a reference to design such a feature in my
    application?

    Any assistance would be greatly appreciated.

    Thanks,

    Rick Langschultz
  • Hello everyone,

    I had recently posted an article about this, and was wondering if any
    of my questions are getting through...

    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. Obviously the NSView has to
    incorporate drag and drop and things like that, but there are no
    resources out there to use as a reference. (Don't want to copy
    anything but use as a reference to better understand the canvas-like
    interface)

    If anyone can make a suggestion it would be greatly appreciated.

    Thanks,

    Rick
  • > 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.
  • On 21 Jan 2008, at 15:14, Rick Langschultz wrote:

    > I had recently posted an article about this, and was wondering if
    > any of my questions are getting through...

    Please don't re-post questions to the list; if you aren't getting any
    answers, it's because nobody has any answers to give (or occasionally
    because the people who do don't have the time to give them).

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

    Part of the problem in this case is that it isn't 100% clear what you
    actually want.  e.g. *an* answer to this might be to refer you to
    Apple's Sketch sample app.

    It might also be worth checking the wiki at <http://www.cocoadev.com>,
    as that site has a lot of links to third-party code that might be
    interesting to you.

    Kind regards,

    Alastair.

    --
    http://alastairs-place.net
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today