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 PROTECTED]; 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

Reply via email to