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 Build a Vending Machine App in Swift Loading Data From a Resource Finishing Touches

Ingo Ngoyama
Ingo Ngoyama
4,882 Points

I get a Fatal Error

I double checked every thing and still get a fatal error. My code is verbatim. The only thing I can think of is the inventory enum had these icons be fore the item name so I deleted them to match the enum on the video.

Stephen Emery
Stephen Emery
14,384 Points

Could you add the code to your question so we can check it?

Ingo Ngoyama
Ingo Ngoyama
4,882 Points

I figured it out .As I made the selection Enum I auto finished with the strings from the Plist that had icons that I deleted. I just redid the Enum.