skip to Main Content

How can I structure my data in swift IOS to use in tableView? – React native

I have a Data which am getting from API, its in a format [ Appointments(startTime:"2022-09-01",subject:"Clinic Appointment",activityid:"2343"), Appointments(startTime:"2022-09-01",subject:"Night Appointment",activityid:"5738"), Appointments(startTime:"2022-09-01",subject:"Regular checkup",activityid:"2975"), Appointments(startTime:"2022-09-02",subject:"High Fever",activityid:"9274"), Appointments(startTime:"2022-09-02",subject:"Virtual checkup",activityid:"5648"), Appointments(startTime:"2022-09-03",subject:"Regular Appointment",activityid:"1892") ] and I have an array where I have all the Dates of this…

VIEW QUESTION
Back To Top
Search