Questions tagged [ensembles]

Ensembles is an Objective-C synchronization framework for apps using Apple's Core Data.

Ensembles extends Apple's Core Data framework to add peer-to-peer synchronization for Mac OS and iOS. Multiple SQLite persistent stores can be coupled together via a file synchronization platform like iCloud or Dropbox. The framework can be readily extended to support any service capable of moving files between devices, including custom servers.

References

81 questions
0
votes
1 answer

Ensembles 2: tableView not showing data downloaded from iCloud after app restart

New entities downloaded from iCloud (originating on another device) displayed in tableView disappear when the app is restarted. Should it be necessary for to explicitly save the managedObectContext to get the downloaded entities to persist and, if…
fivewood
  • 391
  • 4
  • 11
0
votes
1 answer

iCloud syncing of Core Data with Ensembles

My plan is to purchase Ensembles 2 (to take advantage of speed/efficiencies etc) but am trying to make sure that I will be able to get it to work (in a test Swift project) first. To do this I am experimenting with v1. Using the Simple Sync with…
mallowman
  • 211
  • 1
  • 3
  • 9
0
votes
1 answer

How to synchronize a deleted object with Ensembles Framework in Swift (With Dropbox)

I have succesfuly integrated Ensembles Framework in my App (Swift 3) with DropBox (API V2). Initialy I have used Icloud but finaly I prefer Dropbox. Link to Ensembles on Github The sync works but only if I add some objects. (My objects are some…
Fabien
  • 1
  • 1
0
votes
1 answer

Ensembles 2 with NSFetchedResultsControllerDelegate tableView update methods causing crash

Using NSFetchedResultsController delegate method controller (_:didChange: at:for:newIndexPath:), between tableView.beginUpdates() in controllerWillChangeContent(_:) and tableView.endUpdates() in controllerDidChangeContent(_:), results in objects…
fivewood
  • 391
  • 4
  • 11
0
votes
2 answers

How to synchronize Core Data with Ensembles Framework?

I would like to use Ensembles Framework to synch my core data with Swift. Ensembles Framework But I have some difficulties.. I try to do it like that: (Similar way to the example on github) I use a button to launch the tasks: class ReglagesVC:…
Fabien
  • 1
  • 1
0
votes
1 answer

Ignore property when syncing

I would like to store PHAsset.localIdentifier in my database. Syncing this does not make sense since each device will have different identifier for given photo. Can I somehow configure Ensambles to ignore one property when syncing?
szotp
  • 2,472
  • 1
  • 18
  • 21
0
votes
1 answer

Ensembles document design

I purchased Ensembles support almost a year ago, but sadly am only now getting around to trying to use it. I have an application that supports multiple core data documents and am trying to ascertain the best way to discover them. In your book, you…
J. S.
  • 3
  • 3
0
votes
0 answers

Mac OSX Core Data App - Cannot turn on iCloud Capability

I have a published Mac app which uses Core Data and I am in the beginning stages of implementing iCloud (Documents) to sync data between devices (using Ensembles). When I attempt to turn on iCloud the app does not run. It builds successfully and…
N Gill
  • 21
  • 10
0
votes
0 answers

Ensembles crash in CDERebaser.m

In Ensembles, I'm getting a crash at this line in CDERebaser.m in the method "rebaseWithCompletion": BOOL passedChecks = [revisionManager checkRebasingPrerequisitesForEvents:eventsToMerge error:&error]; The crash is EXC_BAD_ACCESS. I've had…
onemoreanimal
  • 183
  • 2
  • 5
0
votes
1 answer

Do I need any iCloud settings before using Ensembles for CoreData & iCloud syncing?

I'm developing an app which uses CoreData and is already released. I'm trying to add syncing feature using iCloud and Ensembles 1.x. I added codes which are told in the readme, but syncing doesn't happen. The debug log says it can't leech to…
Shuhei.F
  • 37
  • 6
0
votes
1 answer

Ensembles: unnecessary round-trip(s) when syncing with CloudKit file system

I have integrated Ensembles v2.5 into my App and I am using the CloudKit file system. Merges are triggered automatically via push notifications as described in the Ensembles documentation. In general syncing works, but my problem is that after a…
martini
  • 3
  • 2
0
votes
1 answer

Ensembles Linking with OS X Swift App

I'm trying to incorporate Ensembles 1.0 into my Cocoa app (Swift). Followed instructions to the letter, and it cleanly compiles. Can't get past some link errors though: Undefined symbols for architecture x86_64: "_CDESetCurrentLoggingLevel",…
JMNash
  • 1
  • 1
0
votes
1 answer

Unexpectedly found nil while unwrapping an Optional value with Core Data

So I have been updating my code for Swift 3.0 and when the app is opened I sync with iCloud and execute a fetch request. However I get the optional error for the following let appDelegate = UIApplication.shared.delegate as! AppDelegate …
A.Roe
  • 973
  • 3
  • 15
  • 34
0
votes
1 answer

Setting up CDEPersistentStoreEnsemble gives [NSMapTable cde_strongToStrongObjectsMapTable]:

I am setting up ensembles to sync CoreData to iCloud. But it crashes on launch: [NSMapTable cde_strongToStrongObjectsMapTable]: unrecognized selector sent to class 0x10d978c70 2016-08-05 12:48:42.502 Shooters_Journal[30266:751831] *** Terminating…
Tom Tallak Solbu
  • 559
  • 6
  • 20
0
votes
0 answers

Averaging probability matrices where classes vary in Matlab

I am working with large matrices of class IDs and predicted probabilities which I want to average. I then want to return the 3 classes in each row with the highest probabilities. The problem is, the classes in each row vary. What is the most…
Chris Parry
  • 2,937
  • 7
  • 30
  • 71