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


Jared Watkins
Jared Watkins
10,756 Points

Weather App, simple data structures quiz

I missed one of the questions and I would just like to know what the answer is. The question is:

Any code or resources that are part of our Xcode project can be accessed through the _____ class.

I didn't find the answer in the videos, but I'm still curious.

1 Answer

Iman Mk
Iman Mk
6,223 Points

Hi Jared,

The answer is the NSBundle class. "An NSBundle object represents a location in the file system that groups code and resources that can be used in a program. NSBundle objects locate program resources, dynamically load and unload executable code, and assist in localization. You build a bundle in Xcode using one of these project types: Application, Framework, plug-ins." (Apple Docs.)

Let me know if you have any questions.

Got stuck on this one THANKS!