• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: text formats for documenting object relationships?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text formats for documenting object relationships?


  • Subject: Re: text formats for documenting object relationships?
  • From: Rich Morin <email@hidden>
  • Date: Mon, 10 Feb 2003 16:31:54 -0800

Nicholas Riley pointed me to nibtool(1), which looks like a good start on
mechanically extracting a nib's information. Unfortunately, the output
is rather voluminous and encoded in (sigh) plist format. It should be
possible, however, to snarf in the file as a data structure, walk it a bit,
and produce something like the report I created by hand.

If I get inspired, I may try to write a script to do that. Meanwhile,
here's a sample script to use nibtool(1). It should be run from within
the project directory...

:
# ntw - nibtool wrapper
#
# Runs nibtool, with selected options
#
# Written by Rich Morin <email@hidden>, CFCL, 2003.02

LANG=English.lproj
NIBS='MainMenu MainWindow'
RPTS='classes connections hierarchy objects'

for nib in $NIBS; do
echo ">>> $nib"
echo ''
for rpt in $RPTS; do
nibtool --$rpt --macosroman $LANG/$nib.nib
echo ''
done
done | tee ntw.log

--
email: email@hidden; phone: +1 650-873-7841
http://www.cfcl.com/rdm - my home page, resume, etc.
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
_______________________________________________
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.

  • Prev by Date: Duplicating Apple search field *functionality*?
  • Next by Date: Safari and AppleEvents
  • Previous by thread: Re: text formats for documenting object relationships?
  • Next by thread: Re: text formats for documenting object relationships?
  • Index(es):
    • Date
    • Thread