• 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
text formats for documenting object relationships?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

text formats for documenting object relationships?


  • Subject: text formats for documenting object relationships?
  • From: Rich Morin <email@hidden>
  • Date: Mon, 10 Feb 2003 14:47:01 -0800

After 30+ years of text-based procedural programming, I'm now wrestling
with GUI-based OO programming, in the form of Cocoa, IB, and PB (not to
mention CamelBones :-).

Anyway, one of the things that has been getting in my way is the fact
that I have no text file which documents the relationships between the
objects (GUI and otherwise). So, I worked up a text file format in
which I can write these things down:

MainMenu.nib
------------

NSMenu

MainWindow.nib
--------------

NSWindow
Window <

NSTabView (Files, Kernel, ...)
delegate > MyWindowController

NSTabItem (id: Files)

NSTextField
PathName <
delegate > MyWindowController

NSBrowser
delegate > MyWindowController

NSTabView (Access, History, ...)
delegate > MyWindowController

NSTabItem (id: Files_Access)

NSScrollView

NSTableView (permission bits, mode, ...)
AccessCkpath <
datasource > MyWindowController
delegate > MyWindowController

NSScrollView

NSTextView
AccessHelp <

NSTabItem (id: Files_History)
...

I think this format looks promising, but I wonder if I'm reinventing
the wheel. Is there some tool in the Cocoa development suite that
will create a report with this sort of information? If not, do you
think one might be useful?

-r
--
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.

  • Follow-Ups:
    • Re: text formats for documenting object relationships?
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: Weird problem with array declaration in action
  • Next by Date: Re: Duplicating Apple search field UI
  • Previous by thread: Re: bundle version number troubles
  • Next by thread: Re: text formats for documenting object relationships?
  • Index(es):
    • Date
    • Thread