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

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!decwrl!csus.edu!netcomsv!viman!vikram
  3. From: vikram@viman.com  (Vikram Duvvoori)
  4. Subject: Getting ids of Outlets of an object
  5. Message-ID: <1992Jul28.053907.9425@viman.com>
  6. Keywords: outlets, object
  7. Sender: vikram@viman.com
  8. Reply-To: vikram@viman.com
  9. Organization: Viman Software, Santa Cruz, California
  10. Date: Tue, 28 Jul 1992 05:39:07 GMT
  11. Lines: 33
  12.  
  13.  
  14. Hi, 
  15.     We are interested in developing some general tools that can  
  16. dynamically access the various outlets of instances of other objects at  
  17. run-time.
  18.     For example, let Object1 have outlets a, b, c that are tagged 1, 2,  
  19. and 3 and Object2 have outlets d,e that are tagged 4, 5. Given instances of  
  20. Object1 and Object2 at run-time, what support is available in objective-C or  
  21. Appkit, to determine the tags for the outlets of the instance variables. Are  
  22. there any methods that give you information on the instance variables and list  
  23. of methods for an object?
  24.     We have attempted approaches using programmer stored lists of outlets  
  25. (have a list of outlet names "a","b","c" for Object1 and "d","e" for Object2  
  26. and process these lists for accessing tags). This has the problem of  
  27. maintaining the correctness of these lists. Is there any smarter way of doing  
  28. this? We  could probably parse the .h file for getting static information, but  
  29. how about dynamically loaded objects? 
  30.  
  31. We have already searched through Digital Librarian and archives of CSNP.
  32. Any ideas or pointers are welcome.
  33.  
  34. --Vikram
  35. ____________________________________________________________
  36. Vikram Duvvoori                    vikram@viman.com
  37. Viman Software                     800-827-4590 (Toll Free)
  38. Registered NeXT Developers         408-459-0678  
  39. NeXT Mail preferred                408-458-2862 (Fax)
  40.  
  41. -- 
  42. ____________________________________________________________
  43. Vikram Duvvoori                    vikram@viman.com
  44. Viman Software                     800-827-4590 (Toll Free)
  45. Registered NeXT Developers         408-459-0678  
  46.