Question

Could anyine tell me what the preferred method is for giving a slider item a title when configuring Root.plist in XCode please? I have scoured all the documentation and played around with a dummy Root.plist file (including getting XCode to crash by changing values) but I can't see an obvious way of giving a slider a title. Thanks in advance, V.V.

Was it helpful?

Solution

You can either set the header / footer text, or create a cell above it.

<dict>
    <key>cell</key>
    <string>PSGroupCell</string>
    <key>label</key>
    <string>Slider Title</string>
</dict>

OTHER TIPS

More recent configuration -- place the following above your slider dict.

<dict>
    <key>Type</key>
    <string>PSGroupSpecifier</string>
    <key>Title</key>
    <string>Your Title</string>
</dict>

Source: https://developer.apple.com/library/archive/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/PSGroupSpecifier.html#//apple_ref/doc/uid/TP40007009-SW1

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top