Table of Contents
index

# Plain values

When selecting a class whose type is a string, number, boolean, data, or date, you will see the controls above which allow you to edit the class.

- Default Value. This allows you to specify a default value for property list objects of this type. This value will be automatically filled in for any new object created of this type.
- Placeholder. If a placeholder value is specified here, then if an object of this class in a property list has not had any value entered for it yet, the placeholder value will be displayed in gray text in the Value column for that object. This can be used to give the user a clue as to what type of information should be entered for that object, without having to assign an actual default value to that object upon creation.
- Default Display Type. Specifies that this class of object should be display using something other than the default formatter. For example, if you're editing an element used for Number objects used to store four character codes, you can choose the OSType formatter from the pop-up menu here, and any such object will be display by default as a four character code rather than a plain number. This is equivalent to using the "View As" submenu in the Edit menu. Note that this value only affects display in PlistEdit Pro, and not in Xcode or Apple's Property List Editor.
- Allowable Values. For objects that are only allowed to be a specific number of values, you can specify what the allowable values are for that object here. Use the plus/minus buttons to add/remove items from the list, and double click on the value/display value to edit them. PlistEdit Pro will provide a pop-up menu for the object when editing the property list. The entries you type in the Display Value column will be what shows up for the user to select from in the pop-up menu, but the entries in the Value column will be the value actually set in the property list when an item is selected.