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
2
votes
1 answer

Swift Ensembles Set Up & ubiquityContainerIdentifier

The book states, “An ensemble identifier is used to match stores across devices. It is important that this be the same for each store in the ensemble.” let ensembleFileSystem = CDEICloudFileSystem(ubiquityContainerIdentifier: "???") Does this…
DogCoffee
  • 19,820
  • 10
  • 87
  • 120
2
votes
2 answers

CFBundleIdentifier Collision

I am doing an Update to my app. I added a Watch Extension and I had many errors regarding provisioning profiles and so on when trying to submit the binary. However, I somehow managed to get it to work and submitted my update. Today I was rejected…
Kreuzberg
  • 894
  • 1
  • 9
  • 18
1
vote
1 answer

Extract base model prediction H2o stacked model mojo

Is it possible to extract base models prediction given the final stacked ensemble mojo model using java in production for scoring
blehblehbleh
  • 154
  • 6
1
vote
1 answer

Understanding max_features parameter in RandomForestClassifier

I am analyzing RandomForestClasifier and need some help. max_features parameter gives the max no of features for split in random forest which is generally defined as sqrt(n_features). If m is sqrt of n, then no of combinations for DT formation is…
1
vote
0 answers

Zookeeper: Get Leader node from Follower node

If I have an ensemble of Zookeeper nodes where I have the IP of one of the Zookeeper node which is a 'follower' node, is it possible to find out the 'Leader' node from the follower node by connecting through zkCli or Curator client ?
thomas
  • 310
  • 2
  • 12
1
vote
1 answer

caretStack in R - unused argument

I am doing a stack of models in R as follows: ctrl <- trainControl(method="repeatedcv", number=5, repeats=3, returnResamp="final", savePredictions="final", classProbs=TRUE, selectionFunction="oneSE", verboseIter=TRUE) models_stack <- caretStack( …
yeeen
  • 4,911
  • 11
  • 52
  • 73
1
vote
0 answers

Fatal Exception: NSInvalidArgumentException +[NSMapTable cde_strongToStrongObjectsMapTable]: unrecognized selector sent to class

I am currently working on an iPad Application using Objective C language on Xcode version 9.2 and iOS 11. In this application we are using Ensembles 2 framework with Magical Record for syncing our data between 2 iPads and WebDAV as backend. The…
coder1010
  • 412
  • 5
  • 15
1
vote
1 answer

NSSharingService performWithItems Hangs

I had a working share routine and now it is broken. Hadn't checked it, or modified it, for some time and now find that it is inoperable. When I call [sharingService performWithItems:[NSArray arrayWithObject:itemProvider]]; I get a share sheet…
Dean Davids
  • 4,174
  • 2
  • 30
  • 44
1
vote
1 answer

Ensembles: MagicalRecord and iCloud

I'm trying to integrate iCloud in my old project but at the same time trying to update the database with MagicalRecord. iCloud works when I'm not using a custom .sqlite file name, but not with a custom one. Here, there is some code that explains…
1
vote
1 answer

Changing a global identifier of a Core Data object with Ensembles

I am reading the Ensembles documentation where global identifiers should never change in an object life time. However, I have a Tag object which only consists with a name attribute (a string). According to the Ensembles documentation as well, the…
Joshua
  • 1,974
  • 2
  • 23
  • 39
1
vote
1 answer

Should I avoid saving to persistent store while Ensembles is merging?

I'm currently implementing Core Data sync using Ensembles, and I was wondering if I should prevent users from saving to Core Data while CDEPersistentStoreEnsemble is merging? I am asking this due to the method documentation of…
Joshua
  • 1,974
  • 2
  • 23
  • 39
1
vote
2 answers

Linker errors when pushing podspec for Cocoapods 0.39.0

Getting a link failure when trying to push the latest Ensembles podspec. The spec is unchanged, but Cocoapods was updated to 0.39.0. Xcode no doubt changed too, which is likely the culprit, but I can't interpret the error. -> Ensembles (1.4.3) -…
Drew McCormack
  • 3,490
  • 1
  • 19
  • 23
1
vote
2 answers

Where do I place the Ensembles uniqueIdentifier?

I have an app that has threee (3) entities in a CoreData store managed by MagicalRecord; I have one (1) managedObject for the whole app. On page 28, the book states: “Assuming you have added a uniqueIdentifier attribute to your managed…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
1
vote
1 answer

Steps to add Ensembles to existing Coredata / iCloud App

Short version (TLDR): What are the general steps to integrate Ensembles into an app that is already set up to sync CoreData with iCloud via iCloud Drive? I am confused how I will be using Ensembles to facilitate the sync process. Long Version: I'm a…
Charlie
  • 1,279
  • 2
  • 12
  • 28
1
vote
0 answers

Forwarding Ensembles log with CDESetLogCallback

I’m trying to forward Ensembles logging to my logger class. But I'm getting EXC_BAD_ACCESS on first call to CDELog code for setting CDESetLogCallback : lazy var opaquePointerLogFunc : COpaquePointer = { let mutablePointer =…
CryingHippo
  • 5,026
  • 1
  • 28
  • 32