Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.tableView.tableFooterView = [[[NSBundle mainBundle] loadNibNamed:@"addCommentView" owner:self options:nil] objectAtIndex:0];
- commentTextField = (UITextField *)[self.tableView.tableFooterView viewWithTag:1];
- commentTextField.delegate = self;
- UIButton *sendButton = (UIButton *)[self.tableView.tableFooterView viewWithTag:2];
- [sendButton addTarget:self action:@selector(doSendComment:) forControlEvents:UIControlEventTouchUpInside];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement