diff --git a/README.md b/README.md index 4d9a74c07..42ef8dadf 100644 --- a/README.md +++ b/README.md @@ -1930,11 +1930,11 @@ When you subclass [Record](#record-class), you simply have to override the custo ```swift class Person : Record { - var uuid: String? + var uuid: NSUUID? override func insert(db: Database) throws { if uuid == nil { - uuid = NSUUID().UUIDString + uuid = NSUUID() } try super.insert(db) }