Hey Folks!
I've created a first version of a CouchbaseLite Swift wrapper library,
because I felt like working with Couchbase Lite could be easier and more integrated.
That's why I've kept an eye on Swifts built in CollectionTypes,
to enable easy looping - with direct support of CBLModel!
As upon now, it makes Database and Model handling easier as well as Quering:
for user in Query<User>()
.with("givenName != ''")
.or("familyName != ''")
.and(["age < 18","age > 50"], logic: .OR)
.orderBy("familyName", sort: .DESC){
print("\(user.givenName) \(user.familyName)")
}
It would be cool to push this even further - any suggestions are welcome!
Feel free to open issues and/or add pull requests at the projects home base: