2022. 9. 22. 10:03ㆍUniversityMakeUsChallenge/UMCiOS
https://developer.apple.com/documentation/bundleresources/information_property_list
Information Property List
Discussion
Bundles, which represent executables of different kinds, contain an information property list file. This collection of key-value pairs specifies how the system should interpret the associated bundle. Some key-value pairs characterize the bundle itself, while others configure the app, framework, or other entity that the bundle represents. Some keys are required, while others are specific to particular features of the executable.
The information property list file always has the name Info.plist. The file name is case-sensitive and must begin with a capital letter I. Its location within the bundle depends on both the bundle type and the platform. For example, iOS app bundles store the file in the bundle’s root directory, whereas macOS app bundles place the Info.plist file in the Contentsdirectory.
To access an information property list, you use an instance of the Bundleclass, which represents a bundle on disk. You can get the value for a few common keys by accessing properties of the bundle instance. For example, the bundleIdentifier property contains the value associated with the CFBundleIdentifier key. You can obtain the value for an arbitrary key using the object(forInfoDictionaryKey:) method.
To create an information property list for a bundle, you typically rely on Xcode to prepare the file for your apps and other executable targets, as described in Managing Your App’s Information Property List.
'UniversityMakeUsChallenge > UMCiOS' 카테고리의 다른 글
UMC iOS 4주차 세미나 (10/10 월요일) (0) | 2022.10.11 |
---|---|
UMC iOS 세미나 3주차 (10/3, 강의로 대체) (0) | 2022.10.04 |
AppDelegate & SceneDelegate ✏️ (0) | 2022.09.27 |
UMC iOS 세미나 2주차 (0) | 2022.09.26 |
🍎 UMC iOS 1주차 세미나 (2022. 09. 19 월요일) (0) | 2022.09.19 |