RE: What to do with a bad nib?
RE: What to do with a bad nib?
- Subject: RE: What to do with a bad nib?
- From: Lance Drake <email@hidden>
- Date: Sun, 15 Feb 2004 12:13:28 -0700
usage: nibtool [options] nibfile
Build number: 291
Options:
-c, --classes Print the classes.
-h, --hierarchy Print the object hierarchy.
-j, --objects Print the objects.
-x, --connections Print the connections.
-a, --all Equivalent to `-chjx'.
-F, --format TYPE Nib file format Compatibility (1 ==
Pre-10.2 format, 2 == 10.2 and later format, 3 == Both formats).
-w, --write NIBFILE Write the loaded nib file to NIBFILE.
-W, --Write NIBFILE Overwrite the loaded nib file to NIBFILE.
-r, --resave Load in nib file and resave it.
-B, --bundle BUNDLE Load BUNDLE before loading the nib file.
-P, --palette PALETTE Load PALETTE before loading the nib file.
-s, --silent Silent mode; nothing is printed except
errors.
-v, --verbose Verbose mode.
-C, --convert A B Find all Custom Classes with name
starting with prefix A and convert to prefix B.
-L, --localizable-strings Print the localizable strings.
-l, --localizable-attributes Values which are localizable (and will
be copied forward). (Specified in plist format).
-O, --use-oids Use unique object identifiers instead of
the object tiles in localization dictionary.
-d, --dictionary STRINGS Upon loading, translate strings using
the stringsfile STRINGS as dictionary.
-p, --previous NIBFILE When translating, make use of
information from the previous NIBFILE.
-I, --incremental NIBFILE When translating, make use of layout
infromation from the previous localization NIBFILE.
-8, --utf8 set the encoding of the output/or
expected input to UTF-8 (default is Unicode (UTF-16)).
-R, --macosroman set the encoding of the outout to
MacOSRoman. (twobyte characters are escaped).
-f, --fontcheck NIBFILE for font syncronization between English
nib and localized nib.
-V, --version Print the version of nibtool.
-?, --help Print this usage message.
From the terminal:
[G4DP450:~] <username>% nibtool -av8 /Users/<username>/<path to your
project/MainMenu.nib > ~/Desktop/MainMenuNIB.txt
HTH - you'll get a bunch of text that you can look at that might give
you a clue...
Best Regards,
Lance Drake
_______________________________________________
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.