title: Parse not saving field
body: <p>I am trying to save an object to Parse, and for some reason one field refuses to save. Everything else saves just fine. But not this one piece.</p>
  
  <pre><code>self.employeeObject.firstName = self.firstName.text!
              self.employeeObject.lastName = self.lastName.text!
              self.employeeObject.messages = self.messagesEnabledSwitch.on
              self.employeeObject.active = true
              self.employeeObject.pinNumber = "\(pinText!.text!)"
              print(self.employeeObject)
              do {
                  try self.employeeObject.save()
              } catch {
  
              }
  </code></pre>
  
  <p>That prints out: </p>
  
  <pre><code>&lt;Employees: 0x1265cc070, objectId: new, localId: (null)&gt; {
  active = 1;
  firstName = m;
  lastName = d;
  messages = 0;
  pin = 3434;
  }
  </code></pre>
  
  <p>But when it saves, it doesnt save the pin number. The pin number is set as a string in parse. So i tried to make sure that the pin number it was giving was treated as such. By String(PIN) and "(Pin)" neither of which fixed my issue.</p>
  
  <p>I checked my model, its correct. i use it for a number of other parts of the app as well just not this creation.</p>
  
  <p>Any ideas?</p>
  
  <p>EDIT: 
  Here is the Employee model that the employeeObject is from:</p>
  
  <p>import Foundation
  import Parse</p>
  
  <pre><code>class Employee: PFObject, PFSubclassing {
  
  override class func initialize() {
      self.registerSubclass()
  }
  
  class func parseClassName() -&gt; String {
      return "Employees"
  }
  
  var objectID : String {
      get {return objectForKey("objectId") as! String}
      set { setObject(newValue, forKey: "objectId") }
  }
  
  var pinNumber : String? {
      get {return objectForKey("pinNumber") as? String}
      set { setObject(newValue!, forKey: "pin") }
  }
  
  var firstName : String {
      get {return objectForKey("firstName") as! String}
      set { setObject(newValue, forKey: "firstName") }
  }
  
  var lastName : String {
      get {return objectForKey("lastName") as! String}
      set { setObject(newValue, forKey: "lastName") }
  }
  
  var messages : Bool {
      get {return objectForKey("messages") as! Bool}
      set { setObject(newValue, forKey: "messages") }
  }
  
  var userPoint : PFUser? {
      get {return objectForKey("userPointer") as? PFUser}
      set { setObject(newValue!, forKey: "userPointer") }
  }
  
  var roleType : Role? {
      get {return objectForKey("roleType") as? Role}
      set {setObject(newValue!, forKey: "roleType") }
  }
  
  var active : Bool {
      get { return objectForKey("active") as! Bool }
      set { setObject(newValue, forKey: "active") }
  }
  }
  </code></pre>