Foundation._GenericObjCError.NilError: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.1.101.15/src/swift/stdlib/public/core/ErrorType.swift, line 50
I use Typhoon so the class that holds manager and database should be the same. I've tried to recreate the CBLDatabase object on re-login but it doesn't change anything.
What is a correct workflow to drop the database and then to recreate and reconnect to it?
On Dec 20, 2015, at 8:18 PM, Constantine Kozak <mak...@gmail.com> wrote:
So for the initial case everything works perfectly. When a user logs out, I call db.deleteDatabase() and close it. But then when a user logs back the database is not accessible unless the application is restarted. createQuery() method returns nils, attempts to insert something fails with