Skip to content

Instantly share code, notes, and snippets.

@maxgalbu
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxgalbu/270335c848eaf505f39c to your computer and use it in GitHub Desktop.
Save maxgalbu/270335c848eaf505f39c to your computer and use it in GitHub Desktop.
fixed gist url
@interface UITableView (RemoveSeparatorMargin)
- (void) removeCellSeparatorMargin;
@end
@implementation UITableView (RemoveSeparatorMargin)
- (void) removeCellSeparatorMargin
{
if ([self respondsToSelector:@selector(setSeparatorInset:)])
[self setSeparatorInset:UIEdgeInsetsZero];
if ([self respondsToSelector:@selector(setLayoutMargins:)])
[self setLayoutMargins:UIEdgeInsetsZero];
}
@end
{
"name": "UITableView+RemoveSeparatorMargin",
"version": "1.0.0",
"summary": "Debounce selector for specific delay",
"homepage": "https://gist.github.com/maxgalbu/270335c848eaf505f39c",
"license": "MIT",
"authors": "maxgalbu",
"source": {
"git": "https://gist.github.com/maxgalbu/270335c848eaf505f39c.git",
"commit": "b5855652e84c79e033556c80ecd474e1cdb91633"
},
"platforms": {
"ios": "6.0"
},
"source_files": [
"*.{h,m}"
],
"requires_arc": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment