I am creating a to-do list app. I need help or guidance in creating the following UITextInput
and UITextView
put it into some sort of container to get the rounded corners.
I have tried to create it by implementing a UITableView
, creating 2 cells. One with TextInput
and one with TextView
but it doesn't work, I have a feeling it's a wrong approach or there might be a better way to achieve this.
Any guidance or help would be appreciated.
CodePudding user response:
If you want to create a Table view:
create a custom cell
File > New > File
Cocoa Touch Class
Give a name, subclass of UITableViewCell and create xib
In the cell, include:
UITextField
for Title
UITextView
for Notes
And connect to their IBOutlets: