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

Weather app...Swift....

I have created the app...as shown in the video...when I am entering coordinates of any location except uk....the data displayed is wierd....eg i used mumbai India's location (19.0762,72.8759) and its showing me wierd sun rise and sun set times....its the same for the alcatraz island , ca - (37.8267,-122.423) - 3.16pm and 12:52 am respectively....please some one help

I even downloaded the final x code 7 files the sun rize and sun set times and not accurate....please some one throw some light on what is happening....!!!

Is it possible that you have the latitude and longitude switched in your code?