From 27b9cbda38ce844661b97d35b22e4ca6cf1d29ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 19 Aug 2016 08:59:06 +0200 Subject: [PATCH] Documentation --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4d72c59c6..c7dc37acd 100644 --- a/README.md +++ b/README.md @@ -1082,9 +1082,8 @@ row.value(atIndex: 0) as Grape? // fatal error: could not convert "Syrah" to Gr row.value(atIndex: 0) as Grape // fatal error: could not convert "Syrah" to Grape. let dbv = row.databaseValue(atIndex: 0) -dbv.value() as String // "Syrah" -dbv.value() as Grape? // fatal error: could not convert "Syrah" to Grape. -Grape.fromDatabaseValue(dbv) // nil +String.fromDatabaseValue(dbv) // "Syrah" +Grape.fromDatabaseValue(dbv) // nil ```