I followed this YouTube video: https://www.youtube.com/watch?v=0H78ktM97yU to come up with what I have now.
Using data from this api, https://jsonplaceholder.typicode.com/todos I have built a table via importing the data from a model.swift file and the built in JSON parser. Now I am trying to let user view more information about the title they selected. This api has data that looks like this:
[
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
},
{
"userId": 1,
"id": 2,
"title": "quis ut nam facilis et officia qui",
"completed": false
},
...cont...
]
Right now I think the way to get to where I want to be is by adding in a 'cocoatouch class' view controller, and adding in code to this file to alter the label field. However, I am not sure what kinda code to add into this cocoatouch class view controller titled 'title_details_ViewController.swift'. I know that it has to connect to my file titled 'Model' somehow...
Thanks in advanced <3