         uid = aDecoder.decodeObjectForKey("uid") as? String
         avatar_large = aDecoder.decodeObjectForKey("avatar_large") as? String
         name = aDecoder.decodeObjectForKey("name") as? String
+        expires_date = aDecoder.decodeObjectForKey("expires_date") as? NSDate
         
     }
     //归档

//保存用户信息
class useAccount: NSObject,NSCoding {
    var  access_token :String?
    var  expires_in:NSTimeInterval=0
    var  uid:String?
    var  avatar_large:String?
    var  name:String?

         aCoder.encodeObject(uid, forKey: "uid")
         aCoder.encodeObject(avatar_large, forKey: "avatar_large")
         aCoder.encodeObject(name, forKey: "name")
        aCoder.encodeObject(expires_date, forKey: "expires_date")
        
        
        
