Skip to content

Commit ec11dca

Browse files
committed
Removed deprecated properties
1 parent b0418a1 commit ec11dca

File tree

14 files changed

+80
-216
lines changed

14 files changed

+80
-216
lines changed

Demo/Objective_C_Demo/Storyboard/Base.lproj/Main.storyboard

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ko2-SX-mJs">
3838
<rect key="frame" x="16" y="28" width="264" height="143.5"/>
3939
<autoresizingMask key="autoresizingMask"/>
40-
<string key="text">- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowTextFieldPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)</string>
40+
<string key="text">- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowToolbarPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)</string>
4141
<fontDescription key="fontDescription" type="system" pointSize="12"/>
4242
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
4343
<nil key="highlightedColor"/>
@@ -63,9 +63,9 @@
6363
<nil key="highlightedColor"/>
6464
</label>
6565
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="KuD-1z-36f">
66-
<rect key="frame" x="16" y="30.5" width="227.5" height="158"/>
66+
<rect key="frame" x="16" y="30.5" width="245.5" height="158"/>
6767
<autoresizingMask key="autoresizingMask"/>
68-
<string key="text">- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHidePlaceholderText (Category)
- placeholderText (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText</string>
68+
<string key="text">- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHideToolbarPlaceholder (Category)
- toolbarPlaceholder (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText</string>
6969
<fontDescription key="fontDescription" type="system" pointSize="12"/>
7070
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
7171
<nil key="highlightedColor"/>
@@ -584,7 +584,7 @@
584584
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="iFF-SZ-t3m" sceneMemberID="viewController">
585585
<toolbarItems/>
586586
<navigationBar key="navigationBar" contentMode="scaleToFill" largeTitles="YES" id="sxS-VT-UFI">
587-
<rect key="frame" x="0.0" y="20" width="320" height="93"/>
587+
<rect key="frame" x="0.0" y="20" width="320" height="96"/>
588588
<autoresizingMask key="autoresizingMask"/>
589589
</navigationBar>
590590
<nil name="viewControllers"/>

Demo/Objective_C_Demo/Storyboard/ar.lproj/Main.strings

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
/* Class = "UILabel"; text = "UITableView inside UIScrollView"; ObjectID = "JUG-pm-L0a"; */
5454
"JUG-pm-L0a.text" = "UITableView inside UIScrollView";
5555

56-
/* Class = "UILabel"; text = "- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHidePlaceholderText (Category)
- placeholderText (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText"; ObjectID = "KuD-1z-36f"; */
57-
"KuD-1z-36f.text" = "- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHidePlaceholderText (Category)
- placeholderText (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText";
56+
/* Class = "UILabel"; text = "- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHideToolbarPlaceholder (Category)
- toolbarPlaceholder (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText"; ObjectID = "KuD-1z-36f"; */
57+
"KuD-1z-36f.text" = "- enableAutoToolbar
- toolbarManageBehaviour
- overrideKeyboardAppearance
- keyboardAppearance
- shouldResignOnTouchOutside
- IQKeyboardReturnKeyHandler (Class)
- shouldHideToolbarPlaceholder (Category)
- toolbarPlaceholder (Category)
- toolbarTintColor
- toolbarDoneBarButtonItemImage
- toolbarDoneBarButtonItemText";
5858

5959
/* Class = "UILabel"; text = "Text Selection"; ObjectID = "WIY-wJ-lgq"; */
6060
"WIY-wJ-lgq.text" = "Text Selection";
@@ -101,8 +101,8 @@
101101
/* Class = "UILabel"; text = "UITextField/UITextView example"; ObjectID = "itr-sp-j54"; */
102102
"itr-sp-j54.text" = "UITextField/UITextView example";
103103

104-
/* Class = "UILabel"; text = "- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowTextFieldPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)"; ObjectID = "ko2-SX-mJs"; */
105-
"ko2-SX-mJs.text" = "- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowTextFieldPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)";
104+
/* Class = "UILabel"; text = "- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowToolbarPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)"; ObjectID = "ko2-SX-mJs"; */
105+
"ko2-SX-mJs.text" = "- enable
- shouldToolbarUsesTextFieldTintColor
- keyboardDistanceFromTextField
- shouldShowToolbarPlaceholder
- placeholderFont
- keyboardDistanceFromTextField (Category)
- IQTextView (Class)
- setCustomPreviousTarget: action: (Category)
- setCustomNextTarget: action: (Category)
- setCustomDoneTarget: action: (Category)";
106106

107107
/* Class = "UILabel"; text = "Search Controller"; ObjectID = "sfy-kL-TLi"; */
108108
"sfy-kL-TLi.text" = "Search Controller";

Demo/Objective_C_Demo/ViewController/Settings/SettingsViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ - (void)shouldToolbarUsesTextFieldTintColorAction:(UISwitch *)sender
9393
[[IQKeyboardManager sharedManager] setShouldToolbarUsesTextFieldTintColor:sender.on];
9494
}
9595

96-
- (void)shouldShowTextFieldPlaceholder:(UISwitch *)sender
96+
- (void)shouldShowToolbarPlaceholder:(UISwitch *)sender
9797
{
9898
[[IQKeyboardManager sharedManager] setShouldShowToolbarPlaceholder:sender.on];
9999

@@ -291,7 +291,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
291291
cell.labelSubtitle.text = keyboardManagerPropertyDetails[indexPath.section][indexPath.row];
292292
cell.switchEnable.on = [[IQKeyboardManager sharedManager] shouldShowToolbarPlaceholder];
293293
[cell.switchEnable removeTarget:nil action:NULL forControlEvents:UIControlEventAllEvents];
294-
[cell.switchEnable addTarget:self action:@selector(shouldShowTextFieldPlaceholder:) forControlEvents:UIControlEventValueChanged];
294+
[cell.switchEnable addTarget:self action:@selector(shouldShowToolbarPlaceholder:) forControlEvents:UIControlEventValueChanged];
295295
return cell;
296296
}
297297
break;

0 commit comments

Comments
 (0)