NSArray *matches = [disObjectArray valueForKey: @"userjid"];
if ([matches containsObject:notification.object])
{
NSUInteger index = [matches indexOfObject:notification.object];
NSArray *indexPathArray = [NSArray arrayWithObject:[NSIndexPath indexPathForRow:index inSection:0]];
[friendslistTable reloadRowsAtIndexPaths:indexPathArray withRowAnimation:UITableViewRowAnimationNone];
}
No comments:
Post a Comment