Skip to content
Browse files

Merge pull request #14 from killerham/patch-1

Added initWithFrame:style: UITableView initialiser
  • Loading branch information...
2 parents a3a1ac8 + 798cf18 commit 9676d789365b25e81f81305253959622b0c28fd4 @michaeltyson committed Jul 31, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 TPKeyboardAvoidingTableView.m
View
6 TPKeyboardAvoidingTableView.m
@@ -29,6 +29,12 @@ -(id)initWithFrame:(CGRect)frame {
return self;
}
+-(id)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
+ if ( !(self = [super initWithFrame:frame style:style]) ) return nil;
+ [self setup];
+ return self;
+}
+
-(id)initWithCoder:(NSCoder *)aDecoder {
if ( !(self = [super initWithCoder:aDecoder]) ) return nil;
[self setup];

0 comments on commit 9676d78

Please sign in to comment.
Something went wrong with that request. Please try again.