Files
Freestyle-Judo/Freestyle Judo/FSJHelpViewController.m
T

80 lines
1.4 KiB
Objective-C

//
// FSJHelpViewController.m
// Freestyle Judo
//
// Created by Vincente D'Ingianni on 10/4/13.
// Copyright (c) 2013 Binary Systems, Inc. All rights reserved.
//
#import "FSJHelpViewController.h"
#include "Settings.h"
@implementation FSJHelpViewController
@synthesize FreestyleJudoButton = _FreestyleJudoButton;
@synthesize DoneButton = _DoneButton;
- (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;
}
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}
-(BOOL)shouldAutorotate
{
return NO;
}
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
- (IBAction)done:(UIBarButtonItem *)sender {
[self dismissViewControllerAnimated:YES completion:nil];
}
- (IBAction)goBack:(UIButton *)sender {
[self dismissViewControllerAnimated:YES completion:nil];
}
@end