IPhone development: info. plist (III)

Source: Internet
Author: User

The table A-4 lists the keywords used only for the Application Bundle:

Table A-4 application-specific keywords

Whether the keyword type must Abstract The CFAppleHelpAnchorStringNo initial HTML Help file of the bundle. NSAppleScriptEnabledStringNo specifies whether AppleScript is supported. NSHumanReadableCopyrightStringYes: The copyright information displayed in the dialog box. NSJavaNeededBoolean or StringNo specifies whether the program requires a Java virtual machine. Path of the NSJavaPathArrayNo Java class (NSJavaRoot must be added before ). NSJavaRootStringNo contains the root directory of the Java class. The main nib file name of the NSMainNibFileStringYes application. The name of the main class of the NSPrincipalClassStringYes bundle. The NSServicesArrayNo Group describes the dictionary of services provided by applications.
 

CFAppleHelpAnchor
The key words cfapplehelpanchordefine a bunch of HTML Help file names, without the extension of. HTML or. htm. This file is located in the bundle's Localization Resource Directory, or if there is no localization resource directory, it is directly placed in the Resources directory.

 

NSAppleScriptEnabled
The NSAppleScriptEnabled keyword indicates whether the application supports AppleScript. If your application supports this function, set the value of this string to "Yes ".

 

NSHumanReadableCopyright
The NSHumanReadableCopyright keyword contains a string containing bundle copyright information. You can display it in the "about" dialog box. This keyword usually appears in the InfoPlist. strings file, because the value of this keyword needs to be localized.

 

NSJavaNeeded
The NSJavaNeeded keyword contains a Boolean value to determine whether the Java Virtual Machine needs to be loaded and run before the code is executed. You can also specify a string type value "YES" to replace the Boolean value.

 

NSJavaPath
The NSJavaPath keyword contains a set of paths. Each path points to a Java class. This path may be an absolute or relative path relative to the position defined by the NSJavaRoot keyword. The development environment automatically saves these values in the array.

 

NSJavaRoot
The NSJavaRoot keyword contains a string pointing to a directory. This directory is the root directory of the Java class file of the application.

 

NSMainNibFile
The NSMainNibFile keyword contains a string containing the main nib file name of the application (excluding the. nib file extension. A nib file, as an archive file of Interface Builder, contains detailed descriptions of user interfaces and association information between objects on interfaces. When an application is started, the master nib file is automatically loaded. Mac OS X looks for nib files that match the application name.

 

NSPrincipalClass
The NSPrincipalClass keyword defines the name of the main class of a bundle. By default, this name is the name of an application.

 

NSServices
NSServices contains a set of dictionaries that detail the services provided by the application. The table A-5 lists the keywords used to specify the service.

 

 

From cloud huaikong-abel

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.