In article , "neele"
> >I would start with Interface Builder and compiled .r files until you find
> > something that neither it good for (which may take a while, or it may never
> > even happen).
> What do you mean by compiled .r file? I thought IB produce *.nib file??...How
> to get .r??
IB produces .nib files, which describe menus, windows, and dialogs.
Resources are used for more than just UI elements on Mac OS 9. There are two
ways to generate resources: one is by editing a .rsrc file, which gets merged in
to your application. This is what ResEdit and Resorcerer do. The other way is to
describe the resources in a text file (commonly named something.r). That file
then gets compiled by the resource compiler (aka Rez), and the resulting
resources are merged into your application.
For some purposes, a visual editing tool is superior, and so you want to use
rsrc with ResEdit or resorcerer. For some purposes, a textual editing tool is
superior, so you want to use a text editor and the resource compiler.
Dialogs, windows, and menus can be in nibs and in resources
Some other things can only be in resources
Interface Builder edits nibs
ResEdit and Resorcerer edit resorcerer
CW and PB have a resource compiler which compiler text files into resources
Now, the observation that I was trying to make is that most of the things that
you'd want a visual resource editor for can be loaded from nibs as well as
resources. That means that there are really three interesting kinds of resources:
1. Resources that are more suitable for visual editing, and can be stored in nibs
2. Resources that are more suitable for visual editing, but can't be stored in
3. Resources that are more suitable for textual editing.
#1 is easily taken care of by Interface Builder. #3 is easily taken care of with
a resource compiler. #2 is where the problem lies, because you really want to
use a visual editor for those, but IB doesn't support them, ResEdit sucks, and
Resorcerer costs money. Fortunately for you, category #2 is very small, and
chances are good that you will never even run into it.
Therefore, my recommendation is that you start by using Interface Builder for
the visual elements, and .r files for other resources, and worry about ResEdit
vs. Resorcerer when (and if) you ever need to edit a graphical resource that IB
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist> >> Stay informed about: Which Resource/Interface Editor should be used?