Refactor legacy UITextField-based keyboard support out of StreamView
This commit is contained in:
parent
eceb23e1cd
commit
69d1ff15a1
5 changed files with 169 additions and 111 deletions
18
Limelight/Input/TextFieldKeyboardDelegate.h
Normal file
18
Limelight/Input/TextFieldKeyboardDelegate.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// TextFieldKeyboardDelegate.h
|
||||
// Moonlight
|
||||
//
|
||||
// Created by Cameron Gutman on 3/24/20.
|
||||
// Copyright © 2020 Moonlight Game Streaming Project. All rights reserved.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface TextFieldKeyboardDelegate : NSObject<UITextFieldDelegate>
|
||||
|
||||
- (id)initWithTextField:(UITextField*)textField;
|
||||
- (NSArray<UIKeyCommand *> *)keyCommands;
|
||||
|
||||
@end
|
||||
Loading…
Reference in a new issue