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 Weather App with Swift Refreshing the Data The End

plists

i didnt get the purpose of using the currentWeather.plist.We didn't really use in our code, can someone explain the purpose for creating that plist in the beggining of the course?

1 Answer

Steven Deutsch
Steven Deutsch
21,046 Points

Hey Igor Alves,

There was no purpose other than learning about plists. In this course you retrieved your data from the web, so you're right, the plist was unnecessary in this situation. However, it is a good topic to learn about. Mainly that the plist is a dictionary of key value pairs and how to access it using NSBundle.

Good Luck