0

How can i create uitextfield in uitableview and can be add and edit textfield and save to SQLite.

enter image description here

I try to create uitextfield into tabelviewcell, user insert row when click button “plus” but i don’t know how to input text into uitextfiled and save to array to SQLite.

Please advise me. Thank you

koen
  • 5,383
  • 7
  • 50
  • 89
Piwpiw
  • 9
  • 3
  • First step should always be searching... – DonMag May 18 '22 at 15:22
  • @DonMag I found solution to save label in SQLite but i don't understand about textfield.text save to SQLite. – Piwpiw May 19 '22 at 02:05
  • Think a bit more about what you want to ask... You say you can save a *"label"* in SQLite? If so, what do you think the difference would be between `label.text` and `textField.text`? – DonMag May 19 '22 at 15:25
  • @DonMag Thank you from your advice. Now i found solution. I use delegate textfield to save in arrayText[index.row] and then when click save. i use arrayText save to SQLite. – Piwpiw May 20 '22 at 02:36

0 Answers0