Skip to content

Commit 0f11a2e

Browse files
authored
Merge pull request #27 from zjc19891106/main
fix Xcode15 build error
2 parents 991a87c + d9e94a0 commit 0f11a2e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

EaseChatUIKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'EaseChatUIKit'
11-
s.version = '4.10.0'
11+
s.version = '4.10.1'
1212
s.summary = 'A easy for use ChatUIKit.'
1313

1414
# This description is used to generate tags and improve search results.

Sources/EaseChatUIKit/Classes/Service/Client/ChatUIKitClient.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Foundation
22

3-
public let ChatUIKit_VERSION = "4.10.0"
3+
public let ChatUIKit_VERSION = "4.10.1"
44

5-
public let cache_update_notification = "EaseChatUIKitContextUpdateCache"
5+
public let cache_update_notification = "ChatUIKitContextUpdateCache"
66

77
@objcMembers public class ChatUIKitOptions: NSObject {
88

@@ -64,7 +64,7 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache"
6464

6565
/// Login user.
6666
/// - Parameters:
67-
/// - user: An instance that conforms to ``EaseProfileProtocol``.
67+
/// - user: An instance that conforms to ``ChatUserProfileProtocol``.
6868
/// - token: The user chat token.
6969
@objc(loginWithUser:token:completion:)
7070
public func login(user: ChatUserProfileProtocol,token: String,completion: @escaping (ChatError?) -> Void) {
@@ -114,10 +114,10 @@ public let cache_update_notification = "EaseChatUIKitContextUpdateCache"
114114

115115
// /// 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.
116116
// /// - Parameters:
117-
// /// - info: An instance that conforms to ``EaseProfileProtocol``.
117+
// /// - info: An instance that conforms to ``ChatUserProfileProtocol``.
118118
// /// - completion: Callback.
119119
// @objc(updateWithUserInfo:completion:)
120-
// public func updateUserInfo(info: EaseProfileProtocol,completion: @escaping (ChatError?) -> Void) {
120+
// public func updateUserInfo(info: ChatUserProfileProtocol,completion: @escaping (ChatError?) -> Void) {
121121
// self.userService?.updateUserInfo(userInfo: info, completion: { success, error in
122122
// completion(error)
123123
// })

Sources/EaseChatUIKit/Classes/UI/Core/UIKit/DialogComponent/DialogManager/UIViewController+Presentation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public extension UIViewController {
7979
}
8080

8181
// MARK: - UIViewControllerTransitioningDelegate
82-
extension UIViewController: @retroactive UIViewControllerTransitioningDelegate {
82+
extension UIViewController: UIViewControllerTransitioningDelegate {
8383
public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
8484
return PresentationController(presentedViewController: presented, presenting: presenting)
8585
}

0 commit comments

Comments
 (0)