title: How to retrieve values from settings.bundle in Objective-c/Swift?
body: <p>I have created a project that set and retrieve values from <em>settings.bundle</em>. I have also set some defaults values in <em>settings.bundle</em> file. Now the problem is when I retrieve values as</p>
  
  <pre><code>NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
  loginName.text = [defaults objectForKey:@"login_name"];
  </code></pre>
  
  <p>for the first time it shows null, but the values get set in iPhone application settings.
  If I change the values or set it manually, then values are retrieved properly.</p>
  
  <p>Help me out</p>