-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
All the methods in the @optional tag are not being called:
- (void)tableView:(UITableView *)tableView updatedHeight:(CGFloat)height atIndexPath:(NSIndexPath *)indexPath;
- (BOOL)tableView:(UITableView *)tableView textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text;
- (void)tableView:(UITableView *)tableView textViewDidChangeSelection:(UITextView*)textView;
- (void)tableView:(UITableView *)tableView textViewDidEndEditing:(UITextView*)textView;My interface looks like this:
#import "ACEExpandableTextCell.h"
@interface PaymentDetail : UITableViewController<ACEExpandableTableViewDelegate>The code that isn't called looks like:
- (void)tableView:(UITableView *)tableView textViewDidEndEditing:(UITextView*)textView{
NSLog(@"tag=%ld",(long)textView.tag);
}
- (BOOL)tableView:(UITableView *)tableView textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{
NSLog(@"%@",text);
return YES;
}The method that is marked as required works great
- (void)tableView:(UITableView *)tableView updatedText:(NSString *)text atIndexPath:(NSIndexPath *)indexPath
{
stop.copayPaymentType = text;
}
Am I missing something?
Metadata
Metadata
Assignees
Labels
No labels