mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		| @@ -0,0 +1,42 @@ | ||||
| // | ||||
| //  FLEXKeyboardHelpViewController.m | ||||
| //  FLEX | ||||
| // | ||||
| //  Created by Ryan Olson on 9/19/15. | ||||
| //  Copyright © 2015 f. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import "FLEXKeyboardHelpViewController.h" | ||||
| #import "FLEXKeyboardShortcutManager.h" | ||||
|  | ||||
| @interface FLEXKeyboardHelpViewController () | ||||
|  | ||||
| @property (nonatomic) UITextView *textView; | ||||
|  | ||||
| @end | ||||
|  | ||||
| @implementation FLEXKeyboardHelpViewController | ||||
|  | ||||
| - (void)viewDidLoad { | ||||
|     [super viewDidLoad]; | ||||
|  | ||||
|     self.textView = [[UITextView alloc] initWithFrame:self.view.bounds]; | ||||
|     self.textView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight; | ||||
|     [self.view addSubview:self.textView]; | ||||
| #if TARGET_OS_SIMULATOR | ||||
|     self.textView.text = FLEXKeyboardShortcutManager.sharedManager.keyboardShortcutsDescription; | ||||
| #endif | ||||
|     self.textView.backgroundColor = UIColor.blackColor; | ||||
|     self.textView.textColor = UIColor.whiteColor; | ||||
|     self.textView.font = [UIFont boldSystemFontOfSize:14.0]; | ||||
|     self.navigationController.navigationBar.barStyle = UIBarStyleBlackOpaque; | ||||
|      | ||||
|     self.title = @"Simulator Shortcuts"; | ||||
|     self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(donePressed:)]; | ||||
| } | ||||
|  | ||||
| - (void)donePressed:(id)sender { | ||||
|     [self.presentingViewController dismissViewControllerAnimated:YES completion:nil]; | ||||
| } | ||||
|  | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn