Re: Programatically Designing a GUI
Re: Programatically Designing a GUI
- Subject: Re: Programatically Designing a GUI
- From: Jonathan Hendry <email@hidden>
- Date: Fri, 10 Aug 2001 12:30:17 -0500
On Friday, August 10, 2001, at 09:31 , Dennis C. De Mars wrote:
I was also seriously thinking about a Cocoa application that would
require
some NIB-less GUI building. Basically, the application would allow
users to
add some controls in arbitrary fashion and it would remember their
placement. I would use IB for all of my own dialog boxes but there
is no way
I could even use a template for what I have in mind for the user
customization part.
Surely you could use templates for the bits the user would add
in? And if the customization goes on in a window, then you should
be able to load the window from a nib, even if it's just an
otherwise-empty custom NSWindow subclass.
If the user selects controls from a palette, ala Interface Builder,
then you could use controls in the palette as templates. Load the
palette from a .nib.
You might want to look at the sample Sketch.app code for ideas.