已读效果修改

This commit is contained in:
wu736139669
2015-06-29 09:44:52 +08:00
parent e6f8761acf
commit 274fc6c3ff
6 changed files with 43 additions and 46 deletions
@@ -170,11 +170,11 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Ash_AWord/ViewControllers/My/MyRelateViewController.m"
timestampString = "457159946.984524"
timestampString = "457235046.920164"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "152"
endingLineNumber = "152"
startingLineNumber = "153"
endingLineNumber = "153"
landmarkName = "-tableView:didSelectRowAtIndexPath:"
landmarkType = "5">
<Locations>
@@ -218,11 +218,11 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Ash_AWord/ViewControllers/My/MyRelateViewController.m"
timestampString = "457159946.984524"
timestampString = "457235046.920164"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "153"
endingLineNumber = "153"
startingLineNumber = "154"
endingLineNumber = "154"
landmarkName = "-tableView:didSelectRowAtIndexPath:"
landmarkType = "5">
</BreakpointContent>
@@ -490,27 +490,11 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Ash_AWord/ViewControllers/My/BlackListViewController.m"
timestampString = "457185217.350383"
timestampString = "457234100.985171"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "59"
endingLineNumber = "59"
landmarkName = "-loadData"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Ash_AWord/ViewControllers/My/BlackListViewController.m"
timestampString = "457185217.350383"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "62"
endingLineNumber = "62"
startingLineNumber = "80"
endingLineNumber = "80"
landmarkName = "-loadData"
landmarkType = "5">
</BreakpointContent>
@@ -566,7 +550,7 @@
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Ash_AWord/ViewControllers/My/SetUpViewController.m"
@@ -91,7 +91,7 @@
if (response.responseCode == UMSResponseCodeSuccess) {
UMSocialAccountEntity *snsAccount = [[UMSocialAccountManager socialAccountDictionary] valueForKey:UMShareToSina];
// UMSocialAccountEntity *snsAccount = [[UMSocialAccountManager socialAccountDictionary] valueForKey:UMShareToSina];
[[UMSocialDataService defaultDataService] requestSnsInformation:UMShareToSina completion:^(UMSocialResponseEntity *response){
if (response.data) {
@@ -507,7 +507,7 @@ static NSString *kMessageType = @"MessageType";
- (void)jumpToChatList
{
if ([self.navigationController.topViewController isKindOfClass:[ChatMainViewController class]]) {
ChatMainViewController *chatController = (ChatMainViewController *)self.navigationController.topViewController;
// ChatMainViewController *chatController = (ChatMainViewController *)self.navigationController.topViewController;
// [chatController hideImagePicker];
}
else if(_myNav)
@@ -542,7 +542,7 @@ static NSString *kMessageType = @"MessageType";
if (userInfo)
{
if ([self.navigationController.topViewController isKindOfClass:[ChatMainViewController class]]) {
ChatMainViewController *chatController = (ChatMainViewController *)self.navigationController.topViewController;
// ChatMainViewController *chatController = (ChatMainViewController *)self.navigationController.topViewController;
// [chatController hideImagePicker];
}
@@ -56,6 +56,7 @@
for (NSString* userid in dataArr) {
[uidArr addObject:userid];
}
if(uidArr.count > 0){
PropertyEntity* pro = [UserViewModel requireUserListWithUid:uidArr];
[RequireEngine requireWithProperty:pro completionBlock:^(id viewModel) {
@@ -72,6 +73,11 @@
[self headerEndRefreshing];
}];
}else{
[self.tableView reloadData];
[self headerEndRefreshing];
}
}
} onQueue:nil];
@@ -41,6 +41,7 @@
#pragma mark 标记已读
-(void)readAll
{
[self.tableView.header beginRefreshing];
[RequireEngine requireWithProperty:[CommentViewModel requireReadAllComment] completionBlock:^(id viewModel) {
if ([viewModel success]) {
[self headerBeginRefreshing];
@@ -205,10 +205,16 @@
#pragma mark 跳到App Store评价
-(void)goBlackList
{
if (![AWordUser sharedInstance].isLogin)
{
[LoginViewController presentLoginViewControllerInView:self success:nil];
}else{
BlackListViewController* blackListViewController = [[BlackListViewController alloc] init];
blackListViewController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:blackListViewController animated:YES];
}
}
-(void)goMessageSet
{
MessageSetViewController* messageSetViewController = [[MessageSetViewController alloc] init];