Is there a CBLNSTableSource equivalant to CBLUITableSource for use in a Mac App that is using CBL?
No; In Mac apps I’ve just used bindings to drive tables. (CBLUITableSource was written partly as a workaround for the lack of Cocoa bindings in iOS.)
You do have to write a tiny little class to expose a live-query as an array property of an object, which you can then bind as the source of an NSArrayController. It’s actually included in the CBL source tree as part of some ancient Mac test/demo code: DemoQuery.h, DemoQuery.m.
—Jens
Todd Freese
unread,
Nov 3, 2016, 7:27:57 PM11/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message