Understanding .plist files
Apple has developed property lists to store data structures or object states for later reconstitution and transmission. They are commonly used to store preferences for applications. Property list files use the .plist
filename extension and hence are often referred to as .plist
files. You will be using a .plist
file containing cuisine data, ExploreData.plist
, in your project.
You will need to download the code bundle for this book to get the ExploreData.plist
file. After that, you can use Xcode to view its contents. Follow these steps:
- If you have not yet done so, download the resource files and the completed Xcode project for this from this link: https://github.com/PacktPublishing/iOS-14-Programming-for-Beginner-Fifth-Edition.
- Open the
Chapter14
folder and look inside theresources
folder to findExploreData.plist
. This file stores cuisine names and image filenames. - Open the
LetsEat
project, right-click on theExplore
folder in the Project...