Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fixed gist url
@interface UITableView (RemoveSeparatorMargin)
- (void) removeCellSeparatorMargin;
@implementation UITableView (RemoveSeparatorMargin)
- (void) removeCellSeparatorMargin
if ([self respondsToSelector:@selector(setSeparatorInset:)])
[self setSeparatorInset:UIEdgeInsetsZero];
if ([self respondsToSelector:@selector(setLayoutMargins:)])
[self setLayoutMargins:UIEdgeInsetsZero];
"name": "UITableView+RemoveSeparatorMargin",
"version": "1.0.0",
"summary": "Debounce selector for specific delay",
"homepage": "",
"license": "MIT",
"authors": "maxgalbu",
"source": {
"git": "",
"commit": "b5855652e84c79e033556c80ecd474e1cdb91633"
"platforms": {
"ios": "6.0"
"source_files": [
"requires_arc": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment