> 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/3D2DFD4D-736A-4613-95FA-9E3FB765DA52%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to