Displaying weather forecasts
Once the user is happy with the city's information, he/she can also retrieve the weather forecast. As it was already mentioned, the weather forecast is going to be retrieved from Open Weather Map instead of geonames.
We just have to think about how this "scene" is going to work. The idea is to display weather information such as the date and time, the temperature, and an icon of the sun if it is during the day time or a moon when the estimated weather is during the night. If the table view cell needs to display rainy weather, we should use another cell template. This one should display the same information as the other cell, but with an exception that the icon will show rain. We are also going to display additional ...
Get Swift 2 Blueprints now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.