From 7d21772f878813df7e0781cf996db75bdf3e08b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 7 Aug 2016 05:01:27 +0200 Subject: [PATCH] Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }