From aa51a6c54e7badaefe534410b0c730d4d458ddb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 18 May 2016 16:38:46 +0200 Subject: [PATCH] TODO.md --- TODO.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index b2eb978c5..3226f64b5 100644 --- a/TODO.md +++ b/TODO.md @@ -1,10 +1,12 @@ +- [ ] Remove DatabaseValue.failableValue() since DatabaseValueConvertible provides exactly the same service. + if let dbv = row.databaseValue(atIndex: 0), let date: NSDate = dbv.failableValue() { ... } + if let dbv = row.databaseValue(atIndex: 0), let date = NSDate.fromDatabaseValue(dbv) { ... } - [ ] Remove Row subscripting by column name, and make Row.databaseValue(named:) return an optional. - [ ] FetchedRecordsController: take inspiration from https://github.com/jflinter/Dwifft - [ ] Use "unchecked" instead of "unsafe" when appropriate - [ ] What is the SQLITE_OPEN_WAL open flag? - [ ] File protection: Read https://github.com/ccgus/fmdb/issues/262 and understand https://lists.apple.com/archives/cocoa-dev/2012/Aug/msg00527.html - [ ] FetchedRecordsController needs a property that disables changes computation and calls to delegate.controller(_:didChangeRecord:withEvent:). Other option: another protocol. -- [ ] DatabaseValue.failableValue() is not a nice name. - [ ] Support for resource values (see https://developer.apple.com/library/ios/qa/qa1719/_index.html) - [ ] DOC: Since commit e6010e334abdf98eb9f62c1d6abbb2a9e8cd7d19, one can not use the raw SQLite API without importing the SQLite module for the platform. We need to document that. - [ ] Query builder