Skip to content

Static (Read-only) text in Settings Bundle

Since I couldn’t find this anywhere else I will write it here on my blog, to add a static (read-only) text to the Settings Bundle add this to the plist (easiest using the source code editor).

<span style="font-family: monospace;">&lt;dict&gt;</span>
<span style="font-family: monospace;">&lt;key&gt;Key&lt;/key&gt;</span>
<span style="font-family: monospace;">&lt;string&gt;version_preference&lt;/string&gt;</span>
<span style="font-family: monospace;">&lt;key&gt;Type&lt;/key&gt;</span>
<span style="font-family: monospace;">&lt;string&gt;PSTitleValueSpecifier&lt;/string&gt;</span>
<span style="font-family: monospace;">&lt;key&gt;DefaultValue&lt;/key&gt;</span>
<span style="font-family: monospace;">&lt;string&gt;0.1&lt;/string&gt;</span>
<span style="font-family: monospace;">&lt;key&gt;Title&lt;/key&gt;</span>
<span style="font-family: monospace;">&lt;string&gt;Version&lt;/string&gt;</span>
<span style="font-family: monospace;">&lt;/dict&gt;</span>

One Comment

  1. Luke wrote:

    Perfect! Very useful, and works great!

    Friday, April 6, 2012 at 02:09 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*