Documentation

This commit is contained in:
Gwendal Roué committed 2016-08-19 08:59:06 +02:00
1 parent a71e08ad2a
commit 27b9cbda38
1 file changed
+2 -3
+2 -3
View File
@@ -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
```