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