Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Weather App with Swift (Retired) Displaying Our Weather Data The End!

Bruno Paes Leme
Bruno Paes Leme
1,796 Points

Creating a Weather app with my own API


I have completed the swift course track. Now, I am trying to build my own weather app using a different API. I am facing difficulties in getting the values to work together. I have done everything correctly so far, only when I try to retrieve the information it does not work. The values in the API are Strings, and I need to transform them into Integers. Another issue is, how would I access the dictionary values outside the method; so that I can implement graphs/chart interfaces.

Thank you