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] > <javascript:>> 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/e514283e-02a7-4200-8959-f5ca0c06ae01%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
