GithubHelp home page GithubHelp logo

buza / minimal-icloud-client Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 132 KB

A minimal example that demonstrates how to read UIDocument-based iCloud documents and receive notifications when they are updated.

Objective-C 100.00%

minimal-icloud-client's Introduction

Minimal-iCloud-Client

This is a simple example project that demonstrates how to properly read UIDocument-based data from iCloud and receive notifications when they are changed.

Summary

Adding iCloud support for your iOS5+ app isn't as straightforward as I had initially anticipated. Most of the documentation and examples found online are incomplete, inconsistent, or incorrect. I wrote this simple project to demonstrate and document the proper steps needed to create an app using UIDocument subclasses that saves and updates files stored in iCloud. To keep things simple, this project just performs the reading, downloading, and update observation of iCloud documents. See the Minimal-iCloud-Host project for an example of how to build an app that properly creates and updates iCloud UIDocument files that this project will read and respond to changes from.

Note that you'll need to run this on an acutal device, not the simulator. To do this, you'll need to configure iCloud in the iOS Developer Center. For a good overview of how to set this up for an app, visit this link

minimal-icloud-client's People

Contributors

buza avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.