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

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!darwin.sura.net!jvnc.net!princeton!phoenix.Princeton.EDU!sksircar
  3. From: ssircar@canon.com (Subrata Sircar)
  4. Subject: Re: how do outlets work?
  5. Message-ID: <1992Jul29.224508.1660@Princeton.EDU>
  6. Originator: news@ernie.Princeton.EDU
  7. Sender: ssircar@canon.com
  8. Nntp-Posting-Host: phoenix.princeton.edu
  9. Reply-To: ssircar@canon.com (Subrata Sircar)
  10. Organization: SPAMIT
  11. References: <1992Jul29.163410.23660@steggie.uucp> <1992Jul29.191912.206@digifix!uunet.ca>
  12. Distribution: usa
  13. Date: Wed, 29 Jul 1992 22:45:08 GMT
  14. Lines: 30
  15.  
  16. >Eric Fronberg writes
  17. >> This may be a naive question.  I'm confused about the workings of
  18. >> outlets in interface builder. I understand what outlets are supposed
  19. >> to do -- provide access to instances of other objects, but I'm 
  20. >> confused how Interface Builder accomplishes this.
  21.  
  22. Interface Builder actually does something like the following:
  23.  
  24.     if ([yourObject respondsTo:@selector(setTheOutlet:)])
  25.         [yourObject setTheOutlet:outletID];
  26.  
  27. Those methods used to be automatically generated by IB, but are not anymore.
  28. If you include them, you can do a lot of neat things in those methods.  They
  29. are particularly useful with FormCells, where you can set the input format
  30. and so forth.
  31.  
  32. sanguish@digifix.com writes:
  33. >    Is this still supported?  I can't find it anywhere in the current  
  34. >documentation.
  35.  
  36. It is still supported.  As far as the future goes, your guess is as good as
  37. mine.
  38.  
  39.  
  40.  
  41. -- 
  42. Subrata Sircar | ssircar@canon.com | Prophet & SPAMIT Charter Member
  43. Canon Information Systems and I do not speak for each other on all things.
  44. "I wish people wouldn't instantly assume that I am an idiot." (Valentine)
  45. "A restaurant is a whorehouse that does food instead of sex." (Roger Lustig)
  46.