How to get default value of an item in Settings.bundle iOS with Swift?
<p>I am trying to get the default value that I've set of a item inside the Settings.bundle of iOS. </p>

<p>I can get the value that's set in the settings app and set it to a text label, like so:</p>

<pre><code>let userDefaults = NSUserDefaults.standardUserDefaults()

let name = userDefaults.stringForKey("name_preference")
nameLabel.text = name
</code></pre>

<p>But I can't figure out how to get the default value that is set in the plist file (trying to get "Hello, World!") so I can add it to the label if there isn't a value set in the settings app. How can I achieve this?</p>

<p><a href="https://i.stack.imgur.com/FkwE8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FkwE8.png" alt="enter image description here"></a></p>