A followup question:
I can't use [CBLManager sharedInstance] because I'm calling [CBLManager initWithDirectory:options:error: ] to specify a directory.
I call this from two different objects, both on the main thread but doing separate work. One of them, however, passes a CBLModel acquired from the CBLDatabase to an NSOperation subclass to do some work on a background NSOperationQueue. I'm guessing this is going to cause me some problems.
So, questions:
1. Will using two different copies of CBLManager in two different objects on the main thread cause issues? If so, any suggestions on how to make it work?
2. Assuming that passing the CBLModel to the NSOperation is a bad idea, would the solution be to pass the docID to the NSOperation and have it call [CBLManager initWithDirectory:options:error: ] on it's own thread? Would that be safe?
Thanks!
> --
> 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
mobile-couchba...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/3A5867E8-B1E6-4233-B7A1-18BD00F0F46B%40couchbase.com.
> For more options, visit
https://groups.google.com/d/optout.