Sha256: 9e882bf61b3b78f885c8f0ee6d811a4d8578bc808fd8b0220a8bff75c1ab76d2
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
// // RUViewController.m // RufusApp // // Created by Jeremy Stewart on 8/15/13. // Copyright (c) 2013 Northwoods. All rights reserved. // #import "RUViewController.h" #import "RufusPageViewController.h" @interface RUViewController () @end @implementation RUViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (IBAction)toRufusPage:(id)sender { RufusPageViewController *rufusPageViewController = [[RufusPageViewController alloc] init]; [[self navigationController] pushViewController:rufusPageViewController animated:YES]; } - (IBAction)showAlert:(id)sender { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Rufus Alert" message:@"You've chosen to show the rufus alert" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Ok", nil]; [alert show]; } -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex == [alertView cancelButtonIndex]) { alertView = nil; } else { [self toRufusPage:nil]; } } @end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rufus-0.3 | RufusApp/RufusApp/RUViewController.m |