On Feb 25, 2014, at 8:05 AM, Todd Freese <[email protected]> wrote:
> The code is calling the my_map method from CollectionUtils.h and it can't > find this method. It's in CollectionUtils.h, inside the Couchbase Lite sources. > I'm calling #import <CouchbaseLite/CouchbaseLite.h> which I would think would > import all the necessary files. > I tried #import <CouchbaseLite/CollectionUtils.h> but no luck. Nope. The CBL source code has lots of internal headers and source files and private APIs. That's one of them. It's not hard to replace my_map. It's a typical 'map' operation: it calls the block on every element of the array and collects the return values into a new array. You can easily rewrite that as a standard for loop. --Jens -- 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/ACF54973-3C10-4CC1-9BB7-38880D19D91D%40couchbase.com. For more options, visit https://groups.google.com/groups/opt_out.
