Commit 70f76df3c9861395ad1acd070693a8e8d93b5e20
1 parent
cadca63b
0.7.0 版本 解决代码报错
Showing
2 changed files
with
5 additions
and
4 deletions
CNLiveNewIMAManagerKit.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveNewIMAManagerKit' | 10 | s.name = 'CNLiveNewIMAManagerKit' |
| 11 | - s.version = '0.6.9' | 11 | + s.version = '0.7.0' |
| 12 | s.summary = 'A short description of CNLiveNewIMAManagerKit.' | 12 | s.summary = 'A short description of CNLiveNewIMAManagerKit.' |
| 13 | 13 | ||
| 14 | #s.description = <<-DESC | 14 | #s.description = <<-DESC |
CNLiveNewIMAManagerKit/Classes/Playform/IMAConversationManager.m
| @@ -1199,7 +1199,7 @@ | @@ -1199,7 +1199,7 @@ | ||
| 1199 | NSString *familyId = shareGoodsData[@"familyId"]; | 1199 | NSString *familyId = shareGoodsData[@"familyId"]; |
| 1200 | NSString *type = [NSString stringWithFormat:@"%@",shareGoodsData[@"type"]]; | 1200 | NSString *type = [NSString stringWithFormat:@"%@",shareGoodsData[@"type"]]; |
| 1201 | NSString *idStr = [NSString stringWithFormat:@"%@",shareGoodsData[@"id"]]; | 1201 | NSString *idStr = [NSString stringWithFormat:@"%@",shareGoodsData[@"id"]]; |
| 1202 | - i | 1202 | + |
| 1203 | //把新消息提醒存入本地,通过NSUserDefaults 存储, 已家庭id为key, 以包含json字符串的数组承载消息提醒,通过NSSet去重 | 1203 | //把新消息提醒存入本地,通过NSUserDefaults 存储, 已家庭id为key, 以包含json字符串的数组承载消息提醒,通过NSSet去重 |
| 1204 | NSDictionary *valueDic = @{@"type":type, | 1204 | NSDictionary *valueDic = @{@"type":type, |
| 1205 | @"id":idStr, | 1205 | @"id":idStr, |
| @@ -1223,7 +1223,7 @@ | @@ -1223,7 +1223,7 @@ | ||
| 1223 | [[NSUserDefaults standardUserDefaults] setObject:mutArray.copy forKey:key]; | 1223 | [[NSUserDefaults standardUserDefaults] setObject:mutArray.copy forKey:key]; |
| 1224 | [[NSUserDefaults standardUserDefaults] synchronize]; | 1224 | [[NSUserDefaults standardUserDefaults] synchronize]; |
| 1225 | 1225 | ||
| 1226 | - NSLog(@"array = %@",array); | 1226 | + NSLog(@"mutArray = %@",mutArray); |
| 1227 | } | 1227 | } |
| 1228 | else | 1228 | else |
| 1229 | { | 1229 | { |
| @@ -1237,7 +1237,8 @@ | @@ -1237,7 +1237,8 @@ | ||
| 1237 | } | 1237 | } |
| 1238 | [[NSUserDefaults standardUserDefaults] setObject:mutArray.copy forKey:key]; | 1238 | [[NSUserDefaults standardUserDefaults] setObject:mutArray.copy forKey:key]; |
| 1239 | [[NSUserDefaults standardUserDefaults] synchronize]; | 1239 | [[NSUserDefaults standardUserDefaults] synchronize]; |
| 1240 | - | 1240 | + NSLog(@"mutArray = %@",mutArray); |
| 1241 | + | ||
| 1241 | } | 1242 | } |
| 1242 | 1243 | ||
| 1243 | [[NSNotificationCenter defaultCenter] postNotificationName:kIMAMSG_FamilyShareGoodsNotification object:nil userInfo:valueDic]; | 1244 | [[NSNotificationCenter defaultCenter] postNotificationName:kIMAMSG_FamilyShareGoodsNotification object:nil userInfo:valueDic]; |