[Reading Notes] iOS-iCloud programming, Reading Notes ios-icloud

Source: Internet
Author: User

[Reading Notes] iOS-iCloud programming, Reading Notes ios-icloud

I. Apple cloud service-iCloud.

Apple spent $1 billion on iDataCenter, the resume center in North Carolina, which is 0.5 million square feet and one of the largest data centers in the United States.

2. Configure iCloud.

1. Create an App ID.

2. Create a configuration profile.

Iii. cloud Data Storage.

1. Cloud key-value data storage.

2. Notes for storing iCloud data.

4. Programming of cloud key value data storage.

1. Example: cloud key-value data storage design.

2. Configure the Xcode project.

3. Code implementation.

5. Programming of iCloud document storage.

1. Example: Programming Design of iCloud document storage.

2. Configure the Xcode project.

3. Custom document class.

4. Obtain the iCloud document directory.

5. Check the documents in the Ubiquity container.

6. Save the document.

7. Resolve document conflicts.

6. Use CoreData technology under iCloud.

We will consider using the SQLite database, but SQLite is a low-level Data persistence technology, and Core Data is a high-level Data persistence technology.

1. Example: iCloud Core Data programming technology.

2. Use Xcode to create a Core Data project.

3. Create a persistent Storage Coordinator.

4. Create the managed object context.

5. Merge the cloud and local data.

 

Reference: iOS network programming and cloud applications-Best Practices

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.