Skip to content

Instantly share code, notes, and snippets.

@imjacobclark
Created December 10, 2012 23:34
Show Gist options
  • Save imjacobclark/4254329 to your computer and use it in GitHub Desktop.
Save imjacobclark/4254329 to your computer and use it in GitHub Desktop.
- (IBAction)buttonPressed:(UIButton *)sender {
NSArray *predictionArray = [[NSArray alloc] initWithObjects:
@"It is certain",
@"It is decididley so",
@"All signs say yes",
@"The stars are not alligned",
@"My reply is no",
@"Better not tell you now",
@"Concentrate and ask again",
@"Unable to answer now", nil];
self.predictionLabel.text = [predictionArray objectAtIndex:5];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment