objective c - App crashes when setting delegate for UITextField -


I create an App N, which instructs table view cell objects from a class named "NameCell" in which "NameCellView.xib "Name (name is the class for NameCellView) is a nominated" NameField "UITextField within the NameCellView.xib view controller. Now I have tried setting the UITextField (NameField) representative to file owner (example cell = class name). But when I do this, as soon as I try to interact with the textfield (like when I tap it), and I get the only message ('lldb)' and the main line is green in the following Line. App file:

  return UIApplicationMain (argc, argv, zero, NSStringFromClass ([AppDelegate class]));   

Any idea why this happens and how to fix it? When I tap the user 'return' key, I am trying to dismiss the keyboard, so if you have a better way of doing this without a delegation, then I am all ears!

Thank you very much for your help! Any comment is highly appreciated! Things are not clear from the description but please check the connections in xib.

I think the problem is in the xib connection

Comments