Thanks Jens for the reply. Yes, I definitely want to do automatic sync rather than a one-shot. And to make things a bit more complicated, I'm syncing multiple databases, each one within their own NSDocument bundle. I know we talked about that before, so I won't re-hash it here.
Looking forward to the fix. I've tried to dig into it, but my Swift experience is lacking so haven't been able to figure out how to get it to compile. Thanks, Brendan On Wednesday, September 23, 2015 at 12:48:09 PM UTC-6, Jens Alfke wrote: > > > > On Sep 23, 2015, at 11:39 AM, Brendan Duddridge <[email protected] > <javascript:>> 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/0b78cc2b-322a-4b97-bd52-3082b0a6d1d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
