Re: Exclude document from list

2014-11-28 Thread Karel-Jan Van Haute
Hey Andy I'm making an application with cblite in IOS using Swift. In my app you can select an item from a list (CBLTable) and than you can select a second item from the same list. But you must not be able to select the first item for a second time. So the second time I want to exclude the

Exclude document from list

2014-11-27 Thread Karel-Jan Van Haute
How can I exclude one document from a list of documents? -- 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-couchbase+unsubscr...@googlegroups.com. To

Ordered query in swift with multiple keys

2014-10-30 Thread Karel-Jan Van Haute
Hello I'm having the following code to get all items from a parent. And I want to order them by index. So I get everything from key parentId, but then I want to get all the records ordered by index. To test it I added 0 and 6 witch are the current minimum and maximum in my list. So the

Re: Add extra row in tableview for CouchUITableSource

2014-10-28 Thread Karel-Jan Van Haute
Hey Sangam have you ever fixed this? thanks Karel-Jan On Wednesday, January 30, 2013 11:35:06 AM UTC+1, Sangam Angre wrote: I want to display additional row in tableview. Lets say am having 2 entries in my couchtable i want to display 3 rows on UI. *I am using this function for Cell

Re: How does the CBLModel work in swift?

2014-10-15 Thread Karel-Jan Van Haute
these as persistent @end On Wednesday, October 15, 2014 9:44:44 AM UTC+2, Karel-Jan Van Haute wrote: Can someone provide me with a small example on how to implement the CBLModel in swift? -- You received this message because you are subscribed to the Google Groups Couchbase Mobile group

Re: propertynameItemClass in swift

2014-10-15 Thread Karel-Jan Van Haute
Hey Julian you say that you have working swift code to use CBLModel and link the properties right with @NSManaged? If so, can you share a class? As an example? Thank you On Tuesday, September 16, 2014 3:23:29 AM UTC+2, Julian Paas wrote: Yes @NSManaged is the same as @dynamic and is

Re: How does the CBLModel work in swift?

2014-10-15 Thread Karel-Jan Van Haute
= owner self.nickname = name self.status = active } override init(document: CBLDoc) { super.init(document: document) } } I hope this is the way to go. On Wednesday, October 15, 2014 5:29:54 PM UTC+2, Jens Alfke wrote: On Oct 15, 2014, at 12:44 AM, Karel-Jan

Is rereduce already working?

2014-10-14 Thread Karel-Jan Van Haute
The documentation states the following: *Couchbase Lite 1.0 doesn't actually use re-reduce* But CB is at version 3.0. So is it already working? or not? -- You received this message because you are subscribed to the Google Groups Couchbase Mobile group. To unsubscribe from this group and stop

Re: Couchbase Mobile and Swift

2014-10-10 Thread Karel-Jan Van Haute
Hey Mark I just tried to build the todolist port to swift. But it gives a lot of error's (24). Have you been able to build it correctly? Thanks Karel-Jan On Wednesday, July 30, 2014 11:31:13 PM UTC+2, Mark Tracy wrote: On Saturday, July 19, 2014 1:16:37 AM UTC-7, Michael Gaylord wrote:

Simple examples in Swift

2014-10-10 Thread Karel-Jan Van Haute
Hey I'm new to couchbase and swift in ios. Can someone provide me with some basic examples in swift on how to use couchbase? I want to have a couchbase with basic authentication. (This part works) But I want to use the lookup pattern. The couchbase youtube video's state that you can do