> On May 21, 2015, at 9:18 AM, Victor Fernandez <[email protected]>
> wrote:
>
> self.pullGateway.filter=@"sync_gateway/bychannel";
> self.pullGateway.filterParams=[[NSDictionary alloc]
> initWithObjectsAndKeys:@"local", @"channels", nil];
The preferred way to do this is
self.pullGateway.channels = @[@“local”];
although what you’re doing should be equivalent.
I don’t see anything obviously wrong, so I’m going to be nit-picky and ask
whether you’re certain that self.pullGateway is non-nil at the time the above
lines execute (it’s not clear from context since you didn’t actually show the
line that initializes it.) I’ve been bitten by this sort of issue many times.
—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/1A32F766-BA2F-4F33-A320-42A353EDAE99%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.