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 Property Lists and XML

Johnny Nguyen
Johnny Nguyen
3,875 Points

Is PList the same as database?

does PList store data?

1 Answer

Magnus Hållberg
Magnus Hållberg
17,232 Points

No its not a database, yes you can store data to a plist. A plist is good for small pieces of data, like user defaults that are are stored in a plist. Its not recommended to store larger amounts of data in a plist, one reason is that you read back the entire list even though you might only need some small part, so its not as efficient as a database.