title: Swift NSUserDefaults not getting set
body: <p>I don't like to ask simple questions but today I am stumped. All I need to do is see if there is a value set in NSUserdefaults on app launch. If it is not then add a value. That's it. Every time I launch my app I get this as results</p>
  
  <pre><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool
      {
  
          let defaults = NSUserDefaults.standardUserDefaults()
          var returnValue: [String]? = NSUserDefaults.standardUserDefaults().objectForKey("BGColorStr") as? [String]
  
          println("returnValue: \(returnValue) ...")
  
          if (returnValue == nil)
          {
              println("Value is nil")
              defaults.setObject("Default", forKey:"BGColorStr")
              defaults.synchronize()
          }
          else
          {
              println("Value is NOT nil")
          }
  
  
          // Override point for customization after application launch.
          return true
      }
  
  returnValue: nil ...
  Value is nil
  </code></pre>