This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) { | |
[tableView setSeparatorInset:UIEdgeInsetsZero]; | |
} | |
if ([tableView respondsToSelector:@selector(setLayoutMargins:)]) { | |
[tableView setLayoutMargins:UIEdgeInsetsZero]; | |
} | |
if ([cell respondsToSelector:@selector(setLayoutMargins:)]) { | |
[cell setLayoutMargins:UIEdgeInsetsZero]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSBlockOperation *operation = [NSBlockOperation blockOperationWithBlock:^{ | |
dispatch_group_t dispatchGroup = dispatch_group_create(); | |
dispatch_group_enter(dispatchGroup); | |
[task runWithCompletion:^{ | |
dispatch_group_leave(dispatchGroup); | |
}]; | |
dispatch_group_wait(dispatchGroup, DISPATCH_TIME_FOREVER); | |
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcodebuild test -workspace <>.xcworkspace -scheme <> -destination "platform=iOS Simulator,name=iPhone Retina (4-inch),OS=7.1 |
NewerOlder