Skip to content

Instantly share code, notes, and snippets.

@elkraneo
Created July 9, 2015 14:07
Show Gist options
  • Save elkraneo/a81bf613ef8e42619dc0 to your computer and use it in GitHub Desktop.
Save elkraneo/a81bf613ef8e42619dc0 to your computer and use it in GitHub Desktop.
- (instancetype)initWithTitle:(NSString *)title iconBadgeNumber:(int)number iconBadgeColor:(UIColor *)backgroundColor iconBadgeTextColor:(UIColor *)textColor action:(actionBasicBlock)action
{
self = [[[NSBundle mainBundle] loadNibNamed:@"QBasicTableViewCell" owner:self options:nil] objectAtIndex:0];
if (self) {
//le code
}
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment