It is weird indeed.

To avoid misspelling and invisible characters, this time I copied the class 
name and method name from header file. Still, same issue.

There is no specific source code that I can send you. Because basic 
authenticator factory method didn't work any where in my code, for now, I 
am just inserting the username and password into my remote url manually. (I 
checked the source code for [CBLAuthenticator 
basicAuthenticationWithName:password:] and it seems it does the same thing).

Any way, these two lines of code doesn't work anywhere in my code:

1.    id<CBLAuthenticator> auth;

2.    auth = [CBLAuthenticator 
basicAuthenticatorWithName:@"something" password:@"something"];

And the strange thing is, the first line (the protocol) is fine and it just 
does not recognise the second line. And it is despite the fact that both 
CBLAuthenticator protocol and CBLAuthenticator class are declared in the 
same header file !



-- 
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/f8c70184-79c6-4135-8122-6f3ebc54917e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to