From 4e20f1faf0264ce1bd2291ee7bd6ccb6abb13c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 30 Sep 2015 23:14:57 +0200 Subject: [PATCH] Convenience rows documentation --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8546160b9..af2f6106f 100644 --- a/README.md +++ b/README.md @@ -375,18 +375,13 @@ row.toDictionary() // NSDictionary Rows is a fundamental type in GRDB, used by many other APIs. -From time to time, you'll want to build a custom one from scratch. Use dictionary initializers: +From time to time, you'll want to build a custom one from scratch. Use the dictionary initializer: ```swift -// Row(dictionary: [String: DatabaseValueConvertible?]): Row(dictionary: ["name": "foo", "date": nil]) - -// Row(dictionary: NSDictionary): -let d: NSDictionary = ... -Row(dictionary: d) ``` -See [Values](#values) for more information on types that adopt DatabaseValueConvertible. +See [Values](#values) for more information on supported types. #### RowConvertible Protocol