On May 12, 2015, at 1:01 AM, Pelle Krøgholt <pellek...@gmail.com> wrote:Now when I try to look up the properties of `views` then I keep getting:MyIOSAPP[26894:207053] -[__NSCFDictionary propertyForKey:]: unrecognized selector sent to instance 0x7fcc99e9a7e0
...
A hint for future debugging: when you’re curious what the value or class of a variable is at runtime, set a breakpoint there, then look at the value in the debugger. If the variable list doesn’t tell you, you can print an object using the ‘po’ command. If you want to know what its exact class is, try ‘po [views class]’.
On May 16, 2015, at 12:08 PM, Pelle Krøgholt <pellek...@gmail.com> wrote:So now I have a view and in ios/swift I can do view.deleteIndex(). In contrast to do delete index I had like to do view.updateIndex() which I can do in Java. But its not listed in the doc/api
On May 16, 2015, at 2:54 PM, Jens Alfke <je...@couchbase.com> wrote:For some reason this method was accidentally not made public in iOS. I’ve just filed an issue. I’ll see if there’s time to get it into 1.1 (there should be, as it’s a trivial change to mark the method public.)
On May 18, 2015, at 1:23 AM, Pelle Krøgholt <pellek...@gmail.com> wrote:whats the equivalent to(in Java):view.setCollation(com.couchbase.lite.View.TDViewCollation.TDViewCollationRaw)in ios ?
On May 18, 2015, at 1:23 AM, Pelle Krøgholt <pellek...@gmail.com> wrote:whats the equivalent to(in Java):view.setCollation(com.couchbase.lite.View.TDViewCollation.TDViewCollationRaw)in ios ?Again, View.collation isn’t in our public API (as you can see here.) The iOS codebase partially implements it but the accessors aren’t made public. We could add it without much trouble. Is this an important feature for you?
(Looking at the iOS implementation, I suspect non-default collation will have slow performance because the keys are still indexed by SQL in the default order. But I think with some of the indexing improvements in 1.1, we could fix that.)