Jens ,I have implemented ForestDB but now my live query in all the projects is not working and when I removed 'ForestDB' it works well.I am unable to identify the problem.
On Thursday, 16 July 2015 11:48:00 UTC+5:30, Raj Shekhar wrote: > > Thanks Jens ,I will implement 'register user default' way... > > On Wednesday, 15 July 2015 22:05:36 UTC+5:30, Jens Alfke wrote: >> >> >> On Jul 15, 2015, at 2:49 AM, Raj Shekhar <[email protected]> wrote: >> >> CBLManager *mgr=[CBLManager sharedInstance]; >> mgr.storageType=@"ForestDB" -(Property StorageType is not found on >> CBLManger). >> >> >> Oops, it looks like I forgot to move the declaration of the storageType >> property into the public API before the 1.1 release. It exists, it’s just >> not declared in CBLManager.h. >> >> For now you can work around this by adding your own declaration of it in >> your source file: >> >> @interface CBLManager (OopsNotDeclared) >> @property (copy, nonatomic) NSString* storageType; >> @end >> >> Alternatively you can register a user default: >> >> [[NSUserDefaults standardUserDefaults] registerDefaults: >> @{@“CBLStorageType”: @“ForestDB”}]; >> >> (I think the other developers who’ve been using ForestDB must all be >> doing it that way, because none of them reported that the Obj-C property is >> missing…) >> >> —Jens >> >> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/a1784637-018f-4153-ac60-84907af1594a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
