On Jul 15, 2014, at 4:14 AM, [email protected] wrote:

> I have added code to the app to open/use a Couchbase Lite database, however I 
> notice the path returned my the call [[CBLManager sharedInstance] directory] 
> is specific to my account on my MacBook - 
> /Users/<myusername>/Library/Application Support/iPhone 
> Simulator/7.1/Applications/.../CouchbaseLite.

Yup.

> What path would the app report if my colleague was to pull down my changes 
> and run the app?

A pretty similar path, i.e. to Library/Application Support/CouchbaseLite inside 
the sandbox directory created by the iOS Simulator for the app.

> I guess what I am asking is how do we organise things so we can both work on 
> the app (with a Couchbase Lite database) independently?

What's the problem? You really don't need to care where the database is, except 
in very rare circumstances. It's part of the local data the app stores on the 
device.

If you need to share the same data in the database, then you can run a 
compatible server somewhere (the easiest way is probably to set up a Cloudant 
account) and have your app replicate with it.

--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/A0B2DC7D-B57D-4382-9A0C-3BAAC86FD9D7%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to