87 lines
1.6 KiB
Objective-C
87 lines
1.6 KiB
Objective-C
//
|
|
// FSJCreditsViewController.m
|
|
// Freestyle Judo
|
|
//
|
|
// Created by Vincente D'Ingianni on 10/4/13.
|
|
// Copyright (c) 2013 Binary Systems, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "FSJCreditsViewController.h"
|
|
|
|
|
|
|
|
@implementation FSJCreditsViewController
|
|
|
|
|
|
@synthesize FreestyleJudoButton = _FreestyleJudoButton;
|
|
@synthesize WelcomeMatButton = _WelcomeMatButton;
|
|
@synthesize TheJudokaiButton = _TheJudokaiButton;
|
|
@synthesize BinarySystemsButton = _BinarySystemsButton;
|
|
|
|
@synthesize CreditsToolbar = _CreditsToolbar;
|
|
@synthesize DoneButton = _DoneButton;
|
|
|
|
|
|
- (IBAction)showFSJWebSite:(UIButton *)sender {
|
|
NSLog(@"Go to www.freestylejudo.org");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- (void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
|
|
{
|
|
if ([segue.identifier isEqualToString:@"showFSJWebSite"])
|
|
{
|
|
[segue.destinationViewController setTitle:@"showFSJWebSite"];
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
|
{
|
|
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
|
if (self) {
|
|
// Custom initialization
|
|
}
|
|
return self;
|
|
}
|
|
|
|
|
|
-(BOOL)shouldAutorotate
|
|
{
|
|
return NO;
|
|
}
|
|
|
|
|
|
- (NSUInteger)supportedInterfaceOrientations
|
|
{
|
|
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
|
|
}
|
|
|
|
|
|
- (void)viewDidLoad
|
|
{
|
|
[super viewDidLoad];
|
|
// Do any additional setup after loading the view.
|
|
}
|
|
|
|
|
|
- (void)didReceiveMemoryWarning
|
|
{
|
|
[super didReceiveMemoryWarning];
|
|
// Dispose of any resources that can be recreated.
|
|
}
|
|
|
|
|
|
- (IBAction)done:(UIBarButtonItem *)sender {
|
|
[self dismissViewControllerAnimated:YES completion:nil];
|
|
}
|
|
|
|
|
|
|
|
|
|
@end
|