Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff3c6dc

Browse files
author
dzenbot
committed
Adds a hairline to the auto-completion view, to better separate the content from the control.
1 parent 8705692 commit ff3c6dc

5 files changed

Lines changed: 1237 additions & 2912 deletions

File tree

Examples/Messenger/Messenger-Shared/MessageViewController.m

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -511,24 +511,6 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
511511
}
512512
}
513513

514-
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
515-
{
516-
if ([tableView isEqual:self.autoCompletionView]) {
517-
UIView *topView = [UIView new];
518-
topView.backgroundColor = self.autoCompletionView.separatorColor;
519-
return topView;
520-
}
521-
return nil;
522-
}
523-
524-
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
525-
{
526-
if ([tableView isEqual:self.autoCompletionView]) {
527-
return 0.5;
528-
}
529-
return 0.0;
530-
}
531-
532514

533515
#pragma mark - UITableViewDelegate Methods
534516

0 commit comments

Comments
 (0)