Let me post basically what I want to do.
I have this program written in Python (and using PyObjC), and I'm trying to "convert" it over to pure Objective-C.
Here is the code in Python (should be relatively easy to see what I want to do):
Code:
randomInteger = random.randint(1,3)
someArray = [ "entry1", "entry2", "entry3" ]
self.labelOut.setStringValue_(someArray[randomInteger-1])
labelOut is the name of the class outlet connected to a label in IB.
Any enlightenment?