Permalink
Switch branches/tags
Nothing to show
Commits on Feb 5, 2013
  1. Merge pull request #6 from sakrist/master

    Updated for 10.8 deployment target
    committed Feb 5, 2013
Commits on Oct 4, 2012
  1. Fixed a bug where the dataset id was not being properly added to the …

    …user defaults other than on the first machine to sync.
    committed Oct 4, 2012
Commits on Jul 18, 2012
  1. Added a dataset key to the sentinel code

    A uuid dataset key has been added. This means if the app switches
    between iCloud datasets which both include the current device, it will
    be noticed, and handled. Previously this would not be noticed.
    committed Jul 18, 2012
Commits on Jul 11, 2012
  1. Introduced hacks to avoid baseline.zip error.

    If you try to load a store too soon after migrating it to the cloud, it
    can fail, with an error about a missing baseline.zip file. You can
    avoid this by introducing a short delay.
    committed Jul 11, 2012
Commits on Jul 9, 2012
  1. Replaced property attributeKeys on an entity, with the appropriate Co…

    …re Data NSEntityDescription methods.
    committed Jul 9, 2012
Commits on Jun 27, 2012
  1. Added improved comments to store migrator class.

    Now include detailed comments on how to use the class.
    committed Jun 27, 2012
  2. Added some relationship snips to the migration.

    The last commit did not include any snips, though the comment suggested
    it did.
    committed Jun 27, 2012
  3. Merged

    committed Jun 27, 2012
  4. Added store migrator class and more thorough cloud removal

    Added a store migrator class to replace the method from
    NSPersistentStoreCoordinator, which loads all data into memory. The new
    class uses batching to reduce memory use. The developer can choose the
    batch sizes. You can also 'snip' relationships to prevent all entities
    being pulled into the migration in one hit.
    committed Jun 27, 2012
Commits on Jun 20, 2012
  1. To remove iCloud data, we now iterate all subpaths.

    In order to ensure no problems with iCloud when deleting the iCloud
    container data, it is better to iterate all of the subpaths and delete
    each separately with the file coordinator. That is what is now done,
    rather than just deleting the root folder.
    committed Jun 20, 2012
Commits on Jun 13, 2012
  1. Fixed some problems with removing local store.

    Migration from the cloud had bugs.
    Added file coordination for removing the local store.
    committed Jun 13, 2012
  2. Removed the cloudSyncEnabled property from sentinel.

    This property is longer needed. The sentinel class should only be used
    when syncing is enabled.
    committed Jun 13, 2012
  3. Disable metadata queries during device list update.

    Also stop monitoring the list after a reset. Further monitoring has no
    benefit.
    committed Jun 13, 2012
Commits on Jun 7, 2012
  1. Added the performingDeviceRegistrationCheck flag to the sentinel clas…

    …s. This helps ensure there is only ever one notification of a reset sent. Previously, it was possible to get multiple.
    committed Jun 7, 2012
Commits on Jun 4, 2012
  1. Made the MCCloudResetSentinel conform to NSFilePresenter

    The NSMetadataQuery responsible for notifying of changes in the device
    list file doesn't always seem to fire the notification. So the cloud
    reset sentinel has been made into a NSFilePresenter, so that it
    receives notifications of both metadata changes, as well as coordinated
    file changes.
    committed Jun 4, 2012
  2. Got the sentinel working, and other Core Data stack issues

    The example now seems to work as it should. There have been some badges
    added to the UI, so you can easily see if syncing is on or off, and
    whether the stack is setup or torn down.
    committed Jun 4, 2012
Commits on Jun 3, 2012
  1. Improved setup of the Core Data stack

    The Core Data stack needs to be setup asynchronously when iCloud is
    active. That is now achieved more elegantly.
    committed Jun 3, 2012
  2. Added BSD license.

    committed Jun 3, 2012
  3. Integrated the sentinel in the AppDelegate. It now detects resets, an…

    …d tears down the stack.
    
    Other small changes, such as adding the store to the coordinator in the background, because with cloud syncing, it can be slow.
    committed Jun 3, 2012