Hi All,
I have tableview with custom cells.The cell is having 2 textfields.From viewcontroller i need to find the changed text in that textfield.
if i use
* (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
this method is not at calling calling from the mainviewcontroller.
So i am sending notification like this
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(CalculateAmountInCartList:) name:UITextFieldTextDidChangeNotification object:nil];
here i am getting that textfiled text is changed.But i dont have control on that which text field and index of the particular cell also i am not getting.
Please give any suggestions.
Thanks, Rakesh