 <pre><code>- (IBAction)own { if (thing.hidden == NO) { int rNumber = rand() % 4; NSString *myText = @""; // switch (rNumber) { case 0: myText = @"A"; break; case 1: myText = @"B"; break; case 2: myText = @"C"; break; case 3: myText = @"D"; break; default: break; } result.text = myText; } if (thing.hidden == YES) { int rNumber = rand() % 3; </code></pre>