-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full Split View support, keyboard bug fixes
Fixes #62
- Loading branch information
1 parent
f1da78d
commit eda194e
Showing
8 changed files
with
104 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// JGDetailViewController.h | ||
// JGProgressHUD Tests | ||
// | ||
// Created by Jonas Gessner on 06.08.16. | ||
// Copyright © 2016 Jonas Gessner. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface JGDetailViewController : UIViewController | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// JGDetailViewController.m | ||
// JGProgressHUD Tests | ||
// | ||
// Created by Jonas Gessner on 06.08.16. | ||
// Copyright © 2016 Jonas Gessner. All rights reserved. | ||
// | ||
|
||
#import "JGDetailViewController.h" | ||
|
||
@implementation JGDetailViewController { | ||
UITextField *_textField; | ||
} | ||
|
||
- (void)viewDidLoad { | ||
[super viewDidLoad]; | ||
|
||
_textField = [[UITextField alloc] init]; | ||
_textField.borderStyle = UITextBorderStyleRoundedRect; | ||
_textField.placeholder = @"Text field"; | ||
|
||
[self.view addSubview:_textField]; | ||
|
||
self.view.backgroundColor = [UIColor whiteColor]; | ||
} | ||
|
||
- (void)viewDidLayoutSubviews { | ||
[super viewDidLayoutSubviews]; | ||
|
||
_textField.frame = CGRectMake(30.0, (self.view.frame.size.height-25.0)/2.0, self.view.frame.size.width-60.0, 25.0); | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters