NSArray *nibViews=[[NSBundle mainBundle]loadNibNamed:@"TroubleLogin" owner:self options:nil];
UIView *myView=[nibViews objectAtIndex:0];
[myView setFrame:self.bounds];
myView.backgroundColor=[UIColor clearColor];
[self addSubview:myView];
UIView *myView=[nibViews objectAtIndex:0];
[myView setFrame:self.bounds];
myView.backgroundColor=[UIColor clearColor];
[self addSubview:myView];
LOAD THE CELL:
ReplyDeletestatic NSString *CellIdentifier = @"LHTCreateGameCell";
gameCell=(LHTCreateGameCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if(gameCell==nil){
[[NSBundle mainBundle] loadNibNamed:@"LHTCreateGameCell" owner:self options:nil];
}