> On Sep 23, 2015, at 11:39 AM, Brendan Duddridge <[email protected]> wrote:
> 
> I've been trying to get the GrocerySync app to compile, but am having some 
> troubles.
> It seems like it's referencing classes that are no longer available in Swift, 
> such as MapGenerator, etc.

Oops, Apple must have changed those APIs in later Xcode 7 betas; it’s been a 
few months since I looked at that code. I’ll try to get it fixed. Thanks for 
filing an issue.

> Also, are there any objective-c examples that do peer-to-peer sync?

I don’t know of any. I decided to write mine in Swift as a way to learn the 
language better, and because we already have a lot of Obj-C sample code. The 
basics are really simple (tell Listener to publish via Bonjour; use an 
NSNetServiceBrowser to discover peers), it just gets more complex if you want 
to automatically stay in sync instead of doing it as a one-shot.

—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/61C309C2-DC07-4774-8652-6394DFE73E0F%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to