From 40fa3bc7390ba720210f0d8e27f152b278555900 Mon Sep 17 00:00:00 2001 From: zapcannon87 Date: Mon, 25 Dec 2017 17:32:40 +0800 Subject: [PATCH] Release v2.0.2 --- ChatKit-OC/Podfile.lock | 32 +++++++++---------- ChatKit.podspec | 6 ++-- .../Model/AVIMConversation+LCCKExtension.h | 4 --- .../Model/AVIMConversation+LCCKExtension.m | 14 -------- 4 files changed, 19 insertions(+), 37 deletions(-) diff --git a/ChatKit-OC/Podfile.lock b/ChatKit-OC/Podfile.lock index 3ee26c67..7132e06c 100644 --- a/ChatKit-OC/Podfile.lock +++ b/ChatKit-OC/Podfile.lock @@ -1,17 +1,17 @@ PODS: - - AVOSCloud (8.0.4) - - AVOSCloudIM (8.0.4): - - AVOSCloud (= 8.0.4) - - AVOSCloudIM/_ARC (= 8.0.4) - - AVOSCloudIM/_NOARC (= 8.0.4) - - AVOSCloudIM/_ARC (8.0.4): - - AVOSCloud (= 8.0.4) - - AVOSCloudIM/_NOARC (= 8.0.4) - - AVOSCloudIM/_NOARC (8.0.4): - - AVOSCloud (= 8.0.4) - - ChatKit (2.0.0): - - AVOSCloud (~> 8.0.4) - - AVOSCloudIM (~> 8.0.4) + - AVOSCloud (8.0.6) + - AVOSCloudIM (8.0.6): + - AVOSCloud (= 8.0.6) + - AVOSCloudIM/_ARC (= 8.0.6) + - AVOSCloudIM/_NOARC (= 8.0.6) + - AVOSCloudIM/_ARC (8.0.6): + - AVOSCloud (= 8.0.6) + - AVOSCloudIM/_NOARC (= 8.0.6) + - AVOSCloudIM/_NOARC (8.0.6): + - AVOSCloud (= 8.0.6) + - ChatKit (2.0.2): + - AVOSCloud (~> 8.0.6) + - AVOSCloudIM (~> 8.0.6) - CYLDeallocBlockExecutor (~> 1.1.2) - DACircularProgress (~> 2.3.1) - FDStackView (~> 1.0) @@ -65,9 +65,9 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - AVOSCloud: 645f20b77cdcc0622a45c663c1a5735a17d1df27 - AVOSCloudIM: 182e93f9e6e3ad165c6fd67d8c01d15f561a7538 - ChatKit: 5c1e12b04919974ed4eeb7455d45861d99212390 + AVOSCloud: 3fc5837eb4019f75eecd3064ed79d92656cbe2b5 + AVOSCloudIM: b2d2e57025c2d78030e562cd78325e362615b251 + ChatKit: fd773c000315d135d3c4949f52d32e005445408a CYLDeallocBlockExecutor: ecf39e45dcead9e120f460df5668b8f5093d178e CYLTabBarController: 8d99fccf22866fe18c978c5ff863dc6051da45ff DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71 diff --git a/ChatKit.podspec b/ChatKit.podspec index ec6834ac..ef8b2820 100644 --- a/ChatKit.podspec +++ b/ChatKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ChatKit" - s.version = "2.0.1" + s.version = "2.0.2" s.summary = "An IM App Framework, support sending text, pictures, audio, video, location messaging, managing address book, more interesting features." s.homepage = "https://github.com/LeanCloud/ChatKit-OC" s.license = { :type => 'MIT', :file => 'LICENSE' } @@ -13,8 +13,8 @@ Pod::Spec.new do |s| s.resources = 'ChatKit/Class/Resources/*', 'ChatKit/**/*.xib' s.requires_arc = true - s.dependency "AVOSCloud" , "~> 8.0.4" - s.dependency "AVOSCloudIM", "~> 8.0.4" + s.dependency "AVOSCloud" , "~> 8.0.6" + s.dependency "AVOSCloudIM", "~> 8.0.6" s.dependency "MJRefresh" , "~> 3.1.9" s.dependency "Masonry" , "~> 1.0.1" s.dependency "SDWebImage" , "~> 3.8.0" diff --git a/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.h b/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.h index aabb6224..23cf9a8d 100644 --- a/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.h +++ b/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.h @@ -61,10 +61,6 @@ */ - (NSString *)lcck_title; -- (void)lcck_setObject:(id)object forKey:(NSString *)key callback:(LCCKBooleanResultBlock)callback; - -- (void)lcck_removeObjectForKey:(NSString *)key callback:(LCCKBooleanResultBlock)callback; - - (void)lcck_setConversationWithMute:(BOOL)mute callback:(LCCKBooleanResultBlock)callback; - (BOOL)lcck_isCreaterForCurrentUser; diff --git a/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.m b/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.m index 1c246850..337c011b 100644 --- a/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.m +++ b/ChatKit/Class/Module/Conversation/Model/AVIMConversation+LCCKExtension.m @@ -151,20 +151,6 @@ - (NSString *)lcck_title { } } -- (void)lcck_setObject:(id)object forKey:(NSString *)key callback:(LCCKBooleanResultBlock)callback { - AVIMConversationUpdateBuilder *updateBuilder = [self newUpdateBuilder] ; - updateBuilder.attributes = self.attributes; - [updateBuilder setObject:object forKey:key]; - [self update:[updateBuilder dictionary] callback:callback]; -} - -- (void)lcck_removeObjectForKey:(NSString *)key callback:(LCCKBooleanResultBlock)callback { - AVIMConversationUpdateBuilder *updateBuilder = [self newUpdateBuilder] ; - updateBuilder.attributes = self.attributes; - [updateBuilder removeObjectForKey:key]; - [self update:[updateBuilder dictionary] callback:callback]; -} - - (void)lcck_setConversationWithMute:(BOOL)mute callback:(LCCKBooleanResultBlock)callback { if (mute) { [self muteWithCallback:^(BOOL succeeded, NSError * _Nullable error) {