Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 995 Bytes

MIGRATION GUIDE 5.0 TO 6.0.md

File metadata and controls

41 lines (33 loc) · 995 Bytes

IQKeyboardManager MIGRATION GUIDE 5.0 TO 6.0

1. IQKeyboardManager functions

Old IQKeyboardManager functions

open class func sharedManager() -> IQKeyboardManager
@objc public class var shared: IQKeyboardManager

New IQKeyboardManager functions

2. UIView Category functions

Old UIView Category functions

public func viewController()->UIViewController?

New UIView Category functions

@objc public func viewContainingController()->UIViewController?

3. New features

IQKeyboardManager

@objc public var placeholderColor: UIColor?
@objc public var placeholderButtonColor: UIColor?
@objc public var canAdjustAdditionalSafeAreaInsets = false

UIView Category functions

@objc public var ignoreSwitchingByNextPrevious: Bool
@objc public var shouldResignOnTouchOutsideMode: IQEnableMode
@objc public func parentContainerViewController()->UIViewController?