home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5333 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.4 KB  |  56 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!uunet.ca!digifix!sanguish
  3. From: sanguish@digifix.com (Scott Anguish)
  4. Subject: Re: how do outlets work?
  5. Message-ID: <1992Jul29.191912.206@digifix!uunet.ca>
  6. Sender: sanguish@digifix!uunet.ca
  7. Reply-To: sanguish@digifix.com
  8. Organization: Digital Fix Development
  9. References: <1992Jul29.163410.23660@steggie.uucp>
  10. Distribution: usa
  11. Date: Wed, 29 Jul 1992 19:19:12 GMT
  12. Lines: 42
  13.  
  14. Eric Fronberg writes
  15. > This may be a naive question.  I'm confused about the workings of
  16. > outlets in interface builder. I understand what outlets are supposed
  17. > to do -- provide access to instances of other objects, but I'm 
  18. > confused how Interface Builder accomplishes this.
  19. > So if I have a interface definition to myobject
  20. > @interface myobject:Object
  21. > {
  22. >     id  outlet1;
  23. >     id  outlet2;
  24. > }
  25. > ...
  26. > @end
  27.  
  28.  
  29.     That brings up a question that I have about outlets...
  30.  
  31.     In the preliminary 1.0 documentation interface builder also generated
  32. methods that would initialize these like
  33.  
  34. - setOutlet1:sender
  35. {
  36.     [ some method call I can't remember ]
  37.     return self;
  38. }
  39.  
  40.     Is this still supported?  I can't find it anywhere in the current  
  41. documentation.
  42.  
  43.     If it is still supported, and is pretty certain to be supported in the  
  44. future, I have a few places i could really use this.
  45.  
  46.     thanks
  47.  
  48.     scott
  49.  
  50. -- 
  51. - Scott Anguish -
  52. sanguish@digifix.com (NextMail)
  53.  
  54.