Hello, all.

In our org we have been using CBL 1.x in our iOS app for a couple of years 
now. Our work on that area has been more or less in a stasis for some time, 
but we've recently started work on a greenfield project that finally 
provides the opportunity to begin working with CBL 2.0 betas. I'm quite 
excited about it. Is this list an appropriate place to be asking general 
questions in that regard?

My first step is to initialize a local database, which I want to place in a 
specific directory. I haven't been able to find any documentation on the 
intended use of DatabaseConfiguration; as far as I've been able to figure 
out, I have to go like this:

    let config = DatabaseConfiguration.Builder().setDirectory("/foo/bar").
build()

This seems like an insanely baroque syntax. Is it the correct way? It seems 
that it would be more desirable to do something like:

    let config = DatabaseConfiguration(directory: "/foo/bar")

or even

    let config = DatabaseConfiguration()

    config.directory = "/foo/bar"

cheers,

-ben


On Thursday, December 21, 2017 at 6:52:52 AM UTC-8, Priya Rajagopal wrote:
>
> Happy to announce the release of *Couchbase Lite 2.0 Developer Build 21 
> (DB 21)* . The DB21 release is available for iOS(Swift, ObjC), .NET (UWP, 
> Xamarin) and Android platforms .
> You can download the latest *PreRelease* Build from our Downloads page : 
> https://www.couchbase.com/downloads
>
>
> DB021 release introduces *some major API updates* to the iOS , Android 
> and .Net platforms. The changes include enhancements to Query and Indexing 
> APIs, the default conflict resolver algorithm, database thread safety, live 
> Query API and several bug fixes.
>
>   *Be sure to read the platform specific release notes for a full list of 
> platform specific changes.*
>
>
> ***Links to platform specific release notes -***
>
>
>    - [Swift/ObjC] : 
>    
> https://developer.couchbase.com/documentation/mobile/2.0/references/couchbase-lite/release-notes/index.html?language=swif
>    t
>    - [.Net]: 
>    
> https://developer.couchbase.com/documentation/mobile/2.0/references/couchbase-lite/release-notes/index.html?language=csharp
>    - [Android]: 
>    
> https://developer.couchbase.com/documentation/mobile/2.0/references/couchbase-lite/release-notes/index.html?language=java
>    
>
> ***Sample Apps :***
>
>    - Travel Sample App : 
>    https://github.com/couchbaselabs/mobile-travel-sample/tree/release/db021
>    - ToDo App :
>     https://github.com/couchbaselabs/mobile-training-todo/tree/feature/db021 
>    <https://github.com/couchbaselabs/mobile-training-todo/tree/feature/db021>
>    - Query Playground for iOS :  
>    https://github.com/couchbaselabs/couchbase-lite-ios-api-playground
>    
>
>
>
> ***Other Links:***
>
>    - Couchbase Lite 2.0 DB Release Announcement: 
>    https://developer.couchbase.com/documentation/mobile/2.0/whatsnew.html
>    - Compatible Sync Gateway 1.5 Release : 
>    https://developer.couchbase.com/documentation/mobile/1.5/whatsnew.html
>    
>
>
> ***About Developer Builds:***
>
> Developer Builds give you the opportunity to engage with Couchbase 
> engineers and provide early feedback to influence key aspects of Couchbase 
> Mobile 2.0. It will give us insight into how you use new features in your 
> projects, where you run into issues, and how we can help resolve them.
>
> ***About Couchbase Lite 2.0:***
>
> Couchbase Lite 2.0 is a groundbreaking new release for Couchbase Mobile. 
> Key enhancements include a cross-platform common core, simplified Query API 
> with full-text search capabilities, automated conflict resolution that can 
> be customized and a new and improved replication protocol 
>

-- 
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/6faa712b-1b36-4b59-9a6b-ed96f4d7517f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to