On Mon, Nov 9, 2009 at 9:10 AM, Kevin Brock <ap...@kevin.com> wrote:
> I'm pretty sure that I could just do it programmatically, creating and
> laying things out on the fly, but I'm hoping there's a simpler way.  Most of
> the application is standard windows in a nib file.

You could take the NSPredicateEditor approach and create different
views for each kind of thing that will be displayed in the dialog.
Then it's just a matter of unfreezing these views from their nibs and
arranging them at runtime, rather than arranging every single control.

If you need finer-grained control than even that, you could do the
loading using a subclass of NSViewController and put your
view-rearrangement logic in that object, which would be the nib's
file's owner.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to