DESIGN.md

This commit is contained in:
Gwendal Roué committed 2015-09-07 21:46:39 +02:00
1 parent fa15cfb30f
commit f937560e1d
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ More than caveats or defects, there are a few glitches, or surprises in the GRDB
- **Why is RowModel a class, when protocols are all the rage?**
Easy: Swift protocols don't provide `super`.
Easy: Swift protocols don't provide `super`, and `super` is what turns RowModel into the flexible base class you need when you implement your specific needs:
```swift
// A RowModel that makes sure its UUID is set before insertion: