From 2e929174d2bfd852f33ce000c9d0f9d897ecd70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 3 Jul 2015 11:10:24 +0200 Subject: [PATCH] README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b51c80819..e3fd96126 100644 --- a/README.md +++ b/README.md @@ -238,16 +238,16 @@ try migrator.migrate(dbQueue) ## Row Models -`RowModel` is a class that wraps a database row. It is designed to be subclassed. +`RowModel` is a class that wraps a database row. *It is designed to be subclassed.* -We'll illustrate its features with the Person class below, which declares properties for the `persons` table seen above: +We'll illustrate its features with the Person class below. Note how it declares properties for the `persons` table seen above: ```swift class Person : RowModel { - var id: Int64? - var name: String? - var age: Int? - var creationDate: NSDate? + var id: Int64? // matches "id" column + var name: String? // matches "name" column + var age: Int? // matches "age" columnn + var creationDate: NSDate? // matches "creationTimestamp" column } ```