@@ -3,29 +3,23 @@ import UserInfoRepresentable
3
3
import UIKit
4
4
5
5
extension UIResponder {
6
- public static var keyboardWillShowTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
7
- . init( name: UIResponder . keyboardWillShowNotification)
8
- }
6
+ @Notification ( name: UIResponder . keyboardWillShowNotification)
7
+ public static var keyboardWillShowTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
9
8
10
- public static var keyboardDidShowTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
11
- . init( name: UIResponder . keyboardDidShowNotification)
12
- }
9
+ @Notification ( name: UIResponder . keyboardDidShowNotification)
10
+ public static var keyboardDidShowTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
13
11
14
- public static var keyboardWillHideTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
15
- . init( name: UIResponder . keyboardWillHideNotification)
16
- }
12
+ @Notification ( name: UIResponder . keyboardWillHideNotification)
13
+ public static var keyboardWillHideTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
17
14
18
- public static var keyboardDidHideTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
19
- . init( name: UIResponder . keyboardDidHideNotification)
20
- }
15
+ @Notification ( name: UIResponder . keyboardDidHideNotification)
16
+ public static var keyboardDidHideTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
21
17
22
- public static var keyboardWillChangeFrameTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
23
- . init( name: UIResponder . keyboardWillChangeFrameNotification)
24
- }
18
+ @Notification ( name: UIResponder . keyboardWillChangeFrameNotification)
19
+ public static var keyboardWillChangeFrameTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
25
20
26
- public static var keyboardDidChangeFrameTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen > {
27
- . init( name: UIResponder . keyboardDidChangeFrameNotification)
28
- }
21
+ @Notification ( name: UIResponder . keyboardDidChangeFrameNotification)
22
+ public static var keyboardDidChangeFrameTypedNotification : TypedNotificationDefinition < KeyboardNotificationStorage , UIScreen >
29
23
}
30
24
31
25
public struct KeyboardNotificationStorage : UserInfoRepresentable {
0 commit comments