couchbaselabs/TouchDB-iOS — pull request #226 by explicitcall (2013-01-20 19:51:21+00:00)
Title: Hi, I've fixed a few crashes while trying to compile  iOS-Couchbase-Demo

I've changed order of a few lines in `-[TDRouter finished]` because `onFinished` was already released by ARC in `-[TDRouter stopNow]`. Fixes a crash which prevented demo from even starting.

`TDReplicator`'s property `remote` should be copied because it's value could be instantiated in another thread and released there. Also caused crashes.

`+[TD_DatabaseManager initialize]` also fixed, see comments there (also was stably crashing for me without this fix).

I've also updated CocoaPods spec for TouchDB and that needed bumping version to 1.03. Sorry for that, but I saw no way of testing demo's podfile without this.

Btw, another pull request is coming for iOS-Couchbase-Demo itself.