Skip to content

Commit

Permalink
Remove old stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos committed Aug 14, 2018
1 parent 2b9991a commit f1d8520
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
10 changes: 2 additions & 8 deletions Demo/Sources/DemosNavigator/DemosListViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -597,14 +597,8 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
}

case ViewControllersDemoIndexSegue: {
// TODO: Cleanup this mess when CoconutKit compatible with iOS >= 5. Remove UIKit weak-linking in CoconutKit-demo
if ([UIStoryboard class]) {
// The compiled storyboard has a storyboardc extension
if ([[NSBundle mainBundle] pathForResource:@"SegueDemo" ofType:@"storyboardc"]) {
UIStoryboard *segueStoryboard = [UIStoryboard storyboardWithName:@"SegueDemo" bundle:nil];
demoViewController = [segueStoryboard instantiateInitialViewController];
}
}
UIStoryboard *segueStoryboard = [UIStoryboard storyboardWithName:@"SegueDemo" bundle:nil];
demoViewController = [segueStoryboard instantiateInitialViewController];
break;
}

Expand Down
5 changes: 0 additions & 5 deletions Framework/Sources/Core/HLSKeyboardInformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Return the keyboard information if docked and displayed (or about to be displayed), nil if the keyboard is not visible,
* about to be hidden, or floating
*
* Remark: On iOS 8 and 8.1, the undocked keyboard has serious bugs. When dragging the keyboard, docking / undocking
* is not correctly detected. As a result, the +keyboardInformation method might return a value which does
* not match the keyboard visual status (but is consistent with the buggy keyboard status maintained by the
* system).
*/
+ (nullable instancetype)keyboardInformation;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#import "UITextField+HLSExtensions.h"
#import "UITextView+HLSExtensions.h"

// TODO: When CoconutKit requires iOS >= 8, completely update rotation code. Yeah, this is going to be a lot of work...

// Associated object keys
static void *s_lifeCyclePhaseKey = &s_lifeCyclePhaseKey;
static void *s_createdViewSizeKey = &s_createdViewSizeKey;
Expand Down

0 comments on commit f1d8520

Please sign in to comment.