Table of Contents
index

# Editing an existing definition

PlistEdit Pro offers a full, custom interface for editing property list structure definitions. The easiest way to open an installed structure definition file is to go to the Definitions tab of the preferences window and double click the definition you would like to view/edit.

The editor window can be divided up into four basic areas:

1. Toolbar. The buttons in the toolbar allow you to manage the structure definitions stored in the file. Files are stored as XML, and are actually a subset of the Xcode plugin format. Each plugin can store multiple structure definitions, though many will only store a single one. You can add new definitions to the file and delete existing definitions, as well as switching which definition you want to edit using the pop-up menu on the right. Each plugin also has its own name, bundle identifier, and version number, which can be editing using the "Plugin Info" button.
2. Definition info. Each structure definition within the file also has a name and identifier. The name is what is displayed in the menu when switching which definition you want to use when viewing a particular property list. The identifier should be in the reverse domain name style, and should be unique, so that definitions can be told apart.
3. Property list classes. This table displays the list of property list classes that make up the structure definition. The plus and minus buttons below can be used to add and delete classes from the definition, and selecting a class will display its details in the bottom half of the window.
4. Class detail. This portion of the window displays the details for the selected class. The controls displayed here will differ depending on the type of object represented by the selected element, and are described later in this help document.

If you edit and save an installed structure definition, the changes will take effect immediately in any open property list documents, so if you're creating your own structure definition using PlistEdit Pro, you can "debug" your changes without having to close and reopen a document or quit and relaunch PlistEdit Pro.