diff --git a/EaseChatUIKit.podspec b/EaseChatUIKit.podspec index 7ba17255..162abca4 100644 --- a/EaseChatUIKit.podspec +++ b/EaseChatUIKit.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'EaseChatUIKit' - s.version = '4.10.0' + s.version = '4.10.1' s.summary = 'A easy for use ChatUIKit.' # This description is used to generate tags and improve search results. diff --git a/Sources/EaseChatUIKit/Classes/Service/Client/ChatUIKitClient.swift b/Sources/EaseChatUIKit/Classes/Service/Client/ChatUIKitClient.swift index affd726c..e0d837da 100644 --- a/Sources/EaseChatUIKit/Classes/Service/Client/ChatUIKitClient.swift +++ b/Sources/EaseChatUIKit/Classes/Service/Client/ChatUIKitClient.swift @@ -1,8 +1,8 @@ import Foundation -public let ChatUIKit_VERSION = "4.10.0" +public let ChatUIKit_VERSION = "4.10.1" -public let cache_update_notification = "EaseChatUIKitContextUpdateCache" +public let cache_update_notification = "ChatUIKitContextUpdateCache" @objcMembers public class ChatUIKitOptions: NSObject { @@ -64,7 +64,7 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache" /// Login user. /// - Parameters: - /// - user: An instance that conforms to ``EaseProfileProtocol``. + /// - user: An instance that conforms to ``ChatUserProfileProtocol``. /// - token: The user chat token. @objc(loginWithUser:token:completion:) public func login(user: ChatUserProfileProtocol,token: String,completion: @escaping (ChatError?) -> Void) { @@ -114,10 +114,10 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache" // /// Updates user information that is used for login with the `login(with user: UserInfoProtocol,token: String,use userProperties: Bool = true,completion: @escaping (ChatError?) -> Void)` method. // /// - Parameters: -// /// - info: An instance that conforms to ``EaseProfileProtocol``. +// /// - info: An instance that conforms to ``ChatUserProfileProtocol``. // /// - completion: Callback. // @objc(updateWithUserInfo:completion:) -// public func updateUserInfo(info: EaseProfileProtocol,completion: @escaping (ChatError?) -> Void) { +// public func updateUserInfo(info: ChatUserProfileProtocol,completion: @escaping (ChatError?) -> Void) { // self.userService?.updateUserInfo(userInfo: info, completion: { success, error in // completion(error) // }) diff --git a/Sources/EaseChatUIKit/Classes/UI/Core/UIKit/DialogComponent/DialogManager/UIViewController+Presentation.swift b/Sources/EaseChatUIKit/Classes/UI/Core/UIKit/DialogComponent/DialogManager/UIViewController+Presentation.swift index 8ffaf5bb..2aec2a1e 100644 --- a/Sources/EaseChatUIKit/Classes/UI/Core/UIKit/DialogComponent/DialogManager/UIViewController+Presentation.swift +++ b/Sources/EaseChatUIKit/Classes/UI/Core/UIKit/DialogComponent/DialogManager/UIViewController+Presentation.swift @@ -79,7 +79,7 @@ public extension UIViewController { } // MARK: - UIViewControllerTransitioningDelegate -extension UIViewController: @retroactive UIViewControllerTransitioningDelegate { +extension UIViewController: UIViewControllerTransitioningDelegate { public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? { return PresentationController(presentedViewController: presented, presenting: presenting) }