title: How to do Auto Increment
body: <p>After reading the documentation I was not able to know how can I create a table with primary key integer with autoincrement attribute. Im using swift.</p>
  
  <pre><code>import UIKit
  import Realm
  
  class Person: RLMObject {
      var name = ""
      var birthdate = NSDate(timeIntervalSince1970: 1)
      var dogs = RLMArray(objectClassName: Dog.className())
  }
  </code></pre>
  
  <p>Thanks In Advance</p>