From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Wed Feb 05 2003 - 18:13:05 EST
On mercredi, fév 5, 2003, at 11:41 Europe/Paris, Michael D. Pritchett
wrote:
>> Cocoa has NIB files to aide in the creation and
>> storage of dialogs, created by InterfaceBuilder.
>>
>
> I have no idea if NIB files require something additional at runtime to
> make widgets. I suppose it could be exactly like libglade2.
>
Interface Builder was designed with the AppKit in mind (and vice
versa). Using Nib file is the right way to do GUI with the AppKit. Why ?
1/ nib handling is integrated into the AppKit
2/ Constructing GUI by hand is painful. Trust me, I have the problem
with toolbars and menus
3/ InterfaceBuilder allow connecting actions and outlets to connect GUI
to code. This is nifty.
4/ nib file are made to be localized. (even though this might be a
problem with our localization system, I'll see later).
I don't think it brings an extra overhead in loading GUI (and the code
is much simplier), but surely it does not bring an extra dependency.
Hub
-- Hubert Figuière - http://www.figuiere.net/hub/ Cell-phone: +33 6 18 01 42 11 - iChat/AIM: hfiguiere Any HTML e-mail sent to me will be discarded.
This archive was generated by hypermail 2.1.4 : Wed Feb 05 2003 - 18:16:23 EST