Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

How do I add a Yahoo Weather/The Weather channel 5 day forecast in my app?

I want to add a 5 day weather forecast to my app, where it updates when the app is opened and receives the data from Yahoo or The Weather channel (Or any other well known weather service)

Language- Swift

2 Answers

I'm still new at programming, so how do I present the data in the UI and how do I make it work with swift?

Try the Weather App Tutorial With Swift

This should answer all your questions (They show you how to populate a UIView with info from a weather API) you juts have to adapt it for Yahoo/Forecast.io (Easy enough)

Good Luck