Files
yingmeng-ios-switf/yinmeng-ios/Modules/Chat/Keyboard/ChatKeyboard+.swift
2024-02-29 23:49:12 +08:00

30 lines
599 B
Swift

//
// ChatKeyboard+.swift
// yinmeng-ios
//
// Created by MaiMang on 2024/2/29.
//
import Foundation
// MARK: - NSNotificationName
public extension NSNotification.Name {
///
static let kChatTextKeyboardNeedHide = Notification.Name("kChatTextKeyboardNeedHide")
///
static let kChatTextKeyboardChanged = Notification.Name("kChatTextKeyboardChanged")
}
protocol OptionalType {
associatedtype Wrapped
var value: Wrapped? { get }
}
extension Optional: OptionalType {
var value: Wrapped? {
return self
}
}