A better subjuct might have been "How should I use interface objects to select
command line arguments?" or something like that. The current subject adds no
value and will not help others search for information in the future.
Having said that...
One approach you might take (that will
What I'd suggest is to assign each selection with a tag number in IB
(or programatically if need be). Then in your code you can get the tag:
int colorID = [[colorButton selectedItem] tag];
Assign each its corresponding ID as the tag like 4 for black, 1 for
red, ect.
On May 29, 2008, at 1