🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2387

array of id's ? Palette'ized objects

#2387
From: Patrick McGowan
Date: Wed, 27 Jan 1993 02:38
14 lines
1347 bytes
Maybe this is a dumb question, but I'd like to be able to access an array  
of id's (outlets) so that I can access the one of my choice depending on a  
selection made at run time....in this case I am presented a range of  
operations to perform on some data. These operations are listed in a  
PopUp. It would be easiest to use the index of the selected item to access  
an array element rather than a hard name like calc1, calc2, calc3...etc.
Am I missing something, or is this not a common type of problem?

Also, can a non-view object be palette'ized for use in IB? I'd like to be  
able to hook up one of the above calc objects using IB. ie. drag one off a  
palette into the .nib Objects well (instantiate) for graphical connection  
to other objects.

Thanks in advance.
Technical Details
Message-ID: <C1HrCt.M33@helios.physics.utoronto.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!clark!spool.mu.edu!torn!skule.ecf!helios.physics.utoronto.ca!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!clark!spool.mu.edu!torn!skule.ecf!helios.physics.utoronto.ca!news
From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
Newsgroups: comp.sys.next.programmer
Subject: array of id's ? Palette'ized objects
Message-ID: <C1HrCt.M33@helios.physics.utoronto.ca>
Date: 27 Jan 93 02:38:52 GMT
Article-I.D.: helios.C1HrCt.M33
Sender: news@helios.physics.utoronto.ca (News Administrator)
Reply-To: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
Organization: University of Toronto Physics/Astronomy/CITA
Lines: 14