home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6120 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.3 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!psinews!usenet
  3. From: ph@theora (Patrick Hester)
  4. Subject: need nib file help
  5. Message-ID: <1992Sep11.204747.27888@psisa.psi>
  6. Sender: usenet@psisa.psi (News system)
  7. Reply-To: ph@pencom.com
  8. Organization: Pencom Systems Incorporated
  9. Date: Fri, 11 Sep 1992 20:47:47 GMT
  10. Lines: 25
  11.  
  12. Can anyone shed some light on this...
  13.  
  14. We've got an application which will be made up of several nib files.
  15. Each nib file will have it's own controller object (subclass of object)
  16. and one or more windows.
  17. The main nib file has a menu and target/action methods to load
  18. each of the other nibs.
  19. When a nib file is loaded, only one window should be visible.
  20. This we handled in an awakeFromNib method.
  21. But say the user closes the main window.
  22. Next time they click the menu for that nib we want to redisplay
  23. that one window without unpacking the nib again.
  24. So how do we tell the id of that window?
  25. At first it seemed that loadNibFile was returning the id.
  26. But the doc says it's only an indication of whether the load
  27. worked or no.
  28. And what about file owners?
  29. Should the loaded nib files have their controller object as the owner
  30. or the main app object?
  31. Come to think of it, can anyone help me with the concept of
  32. "file owner"?
  33.  
  34. please reply by email to ph@pencom.com
  35.  
  36. thanks in advance for any help
  37.