修改了登录im的逻辑
This commit is contained in:
29
yinmeng-ios/Modules/Chat/Keyboard/ChatKeyboard+.swift
Normal file
29
yinmeng-ios/Modules/Chat/Keyboard/ChatKeyboard+.swift
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// 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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user