检索位于 Root.strings 中存储的 Root.plist 值的标题的最佳方法是什么?例如,我存储了一个 INT = 1,它的键为 MUL_VAL_2,对应于 Root.strings 中的“女性声音”。如何检索存储的 INT 的“女声”?
// Root.strings
"MUL_VALUE_TITLE" = "Multiple Values";
"MUL_VAL" = "Sound Theme";
"MUL_VAL_1" = "Male Voice";
"MUL_VAL_2" = "Female Voice";
"MUL_VAL_3" = "Mechanical";
// Root.plist
<plist version="1.0">
<dict>
<key>Titles</key>
<array>
<string>MUL_VAL_1</string>
<string>MUL_VAL_2</string>
<string>MUL_VAL_3</string>
</array>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<integer>0</integer>
<integer>1</integer>
<integer>2</integer>
</array>
<key>Title</key>
<string>MUL_VAL</string>
<key>Key</key>
<string>timer_theme_mulValue</string>
<key>DefaultValue</key>
<integer>0</integer>
</dict>