title: Casting struct to NSUserDefaults in Swift?
body: <p>Is there a way I can cast this Swift data set in someway to a form that is acceptable to <code>NSUserDefauts</code>?  i.e. <code>NSObject</code> <code>NSSet</code>? (p.s. I realize <code>NSUserDefaults</code> isn't for this type of data, but I'm just testing) </p>
  
  <pre><code>struct Users {
          var name: String = ""
          var stores: [Store]
      }
  
      struct Store {
          var name: String = ""
  
          var clothingSizes = [String : String]()
  
      }
  
      init() {
          let userDefaults = NSUserDefaults.standardUserDefaults()
  
          if let usersPeople = userDefaults.valueForKey("Users") as?
  </code></pre>