You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: KeyboardHelper/Classes/KeyboardHelper.swift
+18-22
Original file line number
Diff line number
Diff line change
@@ -9,47 +9,43 @@
9
9
import Foundation
10
10
import UIKit
11
11
12
-
/**
13
-
Protocol `KeyboardHelperDelegate` requires two functions.
14
-
Function `keyboardWillAppear` and `keyboardWillDisappear` with parameter `info` struct `KeyboardAppearanceInfo`.
15
-
*/
16
12
13
+
/// Protocol `KeyboardHelperDelegate` requires two functions, `keyboardWillAppear` and `keyboardWillDisappear` with parameter `info` struct `KeyboardAppearanceInfo`.
17
14
publicprotocolKeyboardHelperDelegate:class{
18
15
19
-
/**
20
-
This function will recongnize a change of `KeyboardAppearanceInfo` and will be fired when the keyboard will appaear.
/// Useful helper to keep track of keyboard changes.
35
31
publicclassKeyboardHelper{
36
32
37
-
/**
38
-
Delegate that conforms with the `KeyboardHelperDelegate`.
39
-
*/
33
+
/// Delegate that conforms with the `KeyboardHelperDelegate`.
40
34
public weak vardelegate:KeyboardHelperDelegate?
41
35
42
-
/**
43
-
Initialize the `delegate` and add the two observer for `keyboardWillAppear` and `keyboardWillDisappear`.
44
-
Observers are nessecary for tracking the `UIKeyboardWillShowNotification` and `UIKeyboardWillHideNotification`, so the function that are connectet are getting fired.
45
-
*/
36
+
/// Initialize the `delegate` and add the two observer for `keyboardWillAppear` and `keyboardWillDisappear`.
37
+
/// Observers are nessecary for tracking the `UIKeyboardWillShowNotification` and `UIKeyboardWillHideNotification`, so the function that are connectet are getting fired.
0 commit comments