ios - UITextField in UITableViewController -
i can't find question this. searched of internet nobody ask question. apple's tutorials, there no example. here want do. want create app reminders or wunderlist. want emphasize uitextfield of uitableviewcell's first cell text input. first cell static cell uitextfield , other cell's results of uitextfield. example:
- static cell (uitextfield)
- dynamic cell (label)
- dynamic cell (label)
- ...
there no button uitextfield. want input keyboard's return reminders.app due must implement uitextfielddelegete , equalize in viewdidload textfield.delagate = self
. problem starts here. can connect outlets in uitableviewcell (for uitextfield , cells' labels) in uitableviewcell's instance method, there no viewdidload method , disallow use uitextfielddelagete can require input without using button. if use viewcontroller (not uitableviewcontroller), can connect outlets , use uitextfielddelegate. how can solve problem? point missed?
please check screenshot how add control uitableviewcontroller not forget change static cell instead of dynamic prototype in tableview property.
iboutlets connects viewcontroller , not custom cell.
how set outlets in tableviewcontroller : screenshot
please feel free ask
Comments
Post a Comment