Nextrek
@ 52
Nextrek / iOS / StoryBoard / StoryBoard / VC / Shared / AboutVC.m
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
// // AboutVC.m // PocketVision // // Created by Fabrizio on 06/03/13. // Copyright (c) 2013 Odyssey. All rights reserved. // #import "AboutVC.h" @interface AboutVC () @end @implementation AboutVC @synthesize version; //@synthesize titleLabel; - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { [super viewDidLoad]; // titleLabel.text = APP_NAME; version.text = [NSString stringWithFormat:@"v. %@", APP_VERSION]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; } - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return NO; } - (IBAction) close { if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { [self dismissModalViewControllerAnimated:YES]; } else { [[NSNotificationCenter defaultCenter] postNotificationName:@"CloseAbout" object:nil]; } } @end |
Commits for Nextrek/iOS/StoryBoard/StoryBoard/VC/Shared/AboutVC.m
Revision | Author | Commited | Message |
---|---|---|---|
52 | FAquili | Tue 10 Dec, 2013 21:18:24 +0000 | 1.0 Storyboards |