Skip to content

Commit e01eece

Browse files
Mark Pospeselmpospese
authored andcommitted
[CM-715] Mark overridable extension methods as @objc
1 parent 979809a commit e01eece

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/YCoreUI/Extensions/UIKit/UIScrollView+keyboardNotifications.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ extension UIScrollView {
5050
/// - height: keyboard height
5151
/// - duration: keyboard animation duration
5252
/// - options: keyboard animation options
53+
@objc
5354
open func keyboardWillShow(height: CGFloat, duration: TimeInterval, options: UIView.AnimationOptions) {
5455
// we want to inset the scrollview's content by the difference
5556
// between the keyboard's height and the safe area bottom padding (if any)
@@ -69,6 +70,7 @@ extension UIScrollView {
6970
/// - Parameters:
7071
/// - duration: keyboard animation duration
7172
/// - options: keyboard animation options
73+
@objc
7274
open func keyboardWillHide(duration: TimeInterval, options: UIView.AnimationOptions) {
7375
contentInset = .zero
7476
scrollIndicatorInsets = .zero

0 commit comments

Comments
 (0)