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.
import UIKit
import Realm
class Person: RLMObject {
var name = ""
var birthdate = NSDate(timeIntervalSince1970: 1)
var dogs = RLMArray(objectClassName: Dog.className())
}
Thanks In Advance