I'm making a weather style app and I need to get data from a website. I'm using Swift.
How would I go about doing that? I guess I'd store all of the website's information in a variable.
How to make an HTTP request in Swift?
Look at the above page for various methods regarding making requests to a webpage and extracting data from them.
If the site you are looking to pull information from has an API that you could make requests to retrieve their data then that would work too.