Documentation/MIGRATION GUIDE 7.0 TO 8.0.md
IQKeyboardManager.shared.enableAutoToolbar is now default to false. Actually it's now part of the IQKeyboardToolbarManager library. Due to this change, you may not see the toolbar over keyboard.
IQKeyboardManager.shared.enableAutoToolbar = true in your app delegateIQKeyboardToolbarManager directly to enable keyboard toolbar using IQKeyboardToolbarManager.shared.isEnabled = trueIQKeyboardToolbarManager LinkIQKeyboardListener Link (Renamed to IQKeyboardNotification)IQTextFieldViewListener Link (Renamed to IQTextInputViewNotification)IQReturnKeyHandler Link (Renamed to IQKeyboardReturnManager)IQKeyboardToolbar LinkIQTextView LinkIQPreviousNextView class (Renamed to IQDeepResponderContainerView)
If you are using IQPreviousNextView in your storyboard then you have to change the class to IQDeepResponderContainerView and also have to change the module to IQKeyboardToolbarManager.IQToolbarConfiguration class (Renamed to IQKeyboardToolbarConfiguration)IQToolbarPlaceholderConfiguration class (Renamed to IQKeyboardToolbarPlaceholderConfiguration)public enum IQAutoToolbarManageBehavior: Intpublic enum IQPreviousNextDisplayMode: IntIQBarButtonItemConfiguration class// These were part of IQKeyboardManager
var enableAutoToolbar: Bool (Renamed to `isEnabled`)
var toolbarConfiguration: IQToolbarConfiguration
var playInputClicks: Bool
var disabledToolbarClasses: [UIViewController.Type]
var enabledToolbarClasses: [UIViewController.Type]
var deepResponderAllowedContainerClasses: [UIView.Type]
var canGoPrevious: Bool
var canGoNext: Bool
func goPrevious() -> Bool
func goNext() -> Bool
func reloadInputViews()
// UITextField/UITextView extensions, This can be used like textField.iq.ignoreSwitchingByNextPrevious = true
var ignoreSwitchingByNextPrevious: Bool
IQToolbar class (Renamed to IQKeyboardToolbar)IQToolbarConfiguration class (Renamed to IQKeyboardToolbarConfiguration)IQToolbarPlaceholderConfiguration class (Renamed to IQKeyboardToolbarPlaceholderConfiguration)IQBarButtonItemConfiguration classIQTitleBarButtonItem classIQBarButtonItem classIQInvocation classIQPlaceholderable protocol// UITextField/UITextView extensions, This can be used like textField.iq.hidePlaceholder = true
var toolbar: IQToolbar
var hidePlaceholder: Bool
var placeholder: String?
var drawingPlaceholder: String?
func addToolbar(target: AnyObject?,
previousConfiguration: IQBarButtonItemConfiguration? = nil,
nextConfiguration: IQBarButtonItemConfiguration? = nil,
rightConfiguration: IQBarButtonItemConfiguration? = nil,
title: String?,
titleAccessibilityLabel: String? = nil)
func addDone(...)
func addRightButton(...)
func addRightLeft(...)
func addPreviousNextRight(...)
func addPreviousNextDone(...)
IQKeyboardManagerSwift/Appearance// IQKeyboardManager
public var overrideAppearance: Bool
public var appearance: UIKeyboardAppearance
IQKeyboardManagerSwift/IQKeyboardReturnManager// https://github.com/hackiftekhar/IQKeyboardReturnManager
- This subspec add `IQKeyboardReturnManager` as dependency for easier migration.
IQKeyboardManagerSwift/IQKeyboardToolbarManager// https://github.com/hackiftekhar/IQKeyboardToolbarManager
- This subspec add `IQKeyboardToolbarManager` as dependency for easier migration.
IQKeyboardManagerSwift/IQTextView// https://github.com/hackiftekhar/IQTextView
- This subspec add `IQTextView` as dependency for easier migration.
IQKeyboardManagerSwift/Resign// IQKeyboardManager
var resignOnTouchOutside: Bool
var resignGesture: UITapGestureRecognizer
var disabledTouchResignedClasses: [UIViewController.Type]
var enabledTouchResignedClasses: [UIViewController.Type]
var touchResignedGestureIgnoreClasses: [UIView.Type]
func resignFirstResponder() -> Bool
// UITextField/UITextView extensions, This can be used like textField.iq.resignOnTouchOutsideMode = .default
var resignOnTouchOutsideMode: IQEnableMode