Re: allow user to drag controls to make their own interface?
Re: allow user to drag controls to make their own interface?
- Subject: Re: allow user to drag controls to make their own interface?
- From: Kay Roepke <email@hidden>
- Date: Thu, 15 Apr 2004 20:33:56 +0200
On 15. Apr 2004, at 19:06 Uhr, John Nowak wrote:
Is there anyway I can
hook into the code used in Interface Builder somehow? I don't assume
that the code for it is openly available. Are there classes that could
help me do this without starting from scratch?
I don't believe you could use any code from Interface builder. OO is
great, but well...
Conceptionally I would say you want to be able to drag and drop views.
Not much more.
I would start by doing a sample application without much complexity.
You probably have to subclass the view classes you want to drag around,
to be able to control
some of the dragging properties (like what pasteboardtype to use, where
to drop the views etc.)
Try to figure out how to copy your views from the ones provided by your
'palette panel' and connect
the necessary datasources to your controller object(s).
Maybe the easiest way to do that is to use bindings wherever possible
(if you don't mind your users
have to use 10.3).
Just a quick shot, possibly quite unorganized ;-)
Kay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.