Skip to content

Commit

Permalink
Merge pull request #27 from zjc19891106/main
Browse files Browse the repository at this point in the history
fix Xcode15 build error
  • Loading branch information
lixm1988 authored Nov 12, 2024
2 parents 991a87c + d9e94a0 commit 0f11a2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion EaseChatUIKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
// })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0f11a2e

Please sign in to comment.