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

Swift Stormy app

I built the app Stormy and I had no issue however today when I try and run the app I crash on Start up.

Xcode gives me the following: fatal error: unexpectedly found nil while unwrapping an Optional value

It stops on this line

self.iconView.image = currentWeather.icon!

Im pretty sure I have not changed anything from when it was working. Here is the project. https://github.com/wayneknoesen/Stormy/tree/master/Stormy

I had some images named incorrectly. So it crashed cause it was looking for a image that was not there due to some creative spelling from my part.

The reason i didn't get the crashes before was the images were not used until todays weather conditions.

Hi Wayne congrats on completing the course.