I use Date Picker in My App I want that when I select Date from date Picker and click on Done button I need to list all the things from some other class in Some view Which is occur on that particular date which I selected.Which view is best for me to display that list of things?
Share
As you told you have created datePicker so when you click on done Button.
1) Store Corresponding data into Array, so that you can show that data on to the
UItableView.2) Create TableView :here you only need to create the TableView and show those data.Suppose have collected the data in your Array(As in step 1).
Follow Given Steps for Creating Data in tableView.
A) Create Instance of
UItableViewinUiViewController.h class in Which you want to Show The TableViewB) Adopt The UITableViewDataSource,UITableViewDelegate protocol in ViewController Where you going to show TableView
C)Create Table (programmatically or by IB(Interface Builder)
here i am showing Programmatically
I Hope It’ll really Help You .