Open Platform: parse for iOS

Source: Internet
Author: User

Introduction:

ParseABaasTo provide developers with cloud data storage and reading capabilities,ParseThe Team has spent a lot of effort on its SDK and implemented many useful functions. In addition, it is very stable, compatible, and flexible, compared with otherBaasPlatform,ParseIt is the easiest way to get started.

ParseThe features are as follows:

1: Custom Data Dictionary

2: Message push

3: geographic location

4. Data Cache

5. Offline Data Synchronization

6: cloud-based custom code

7. Binary File Reading

References:

1:ParseHome Page

Https://www.parse.com

2:

Installation:

1. The preferred installation method is to follow the official tutorials provided by parse, which is very simple!

2. You can also use Cocopods, But the SDK is too fat. Facebook SDK.

Usage:

Parse supports the following data types:

Number: corresponds to various types, including: integer, floating point type converted to nsnumber and stored to parse cloud

Date: corresponding to nsdate

Array: corresponds to the nsarray. omnipotent array (the power of PARSE)

String: nsstring

Null: rarely used

Pointer: pointer: equivalent to the foreign key relationship between the table and the table. Only the ID of an object is stored.

Relation: relationship: the scheme for dealing with many-to-many relationships, but the function of consent can be achieved using array.

Push:

The official website provides a detailed message Push configuration process:

Https://parse.com/tutorials/ios-push-notifications

The remote push tutorial of parse is too detailed.

Here I briefly repeat the entire process for easy understanding:

1. Apply for Apple's developer enrollment plan and activate it successfully.

2. Generate a Certificate Signature request through the local MAC system (Certificate Signing Request),

3: Next, create a new app IDs in the member center (member center) on the Apple developer homepage, and activate the remote push service function of this app IDs through a certificate signature request.

4. Download the push License Service for this app IDs and use the key access string to export the key.

5. Finally, the description file of this app IDS is generated and applied to the project.

6. Compile the API code of push provided by parse to implement remote message push.

One step is when you passCertificate Signing Request (Certificate Signature request)After activating Apple's remote push notification service.

And downloaded the push License book:Aps_development.cerIn the tutorialKeychain access)Export in. P12The key of the suffix.

You are required to enter the password during export,Ignore, That is, leave the password empty. Otherwise, the p12 key in the application settings-push notifications of parse cannot be successfully uploaded.

Note that when your product is successfully released to the App StoreDevelop version Certificate, Should be replacedPublish a version certificate (aps_production.cer)Otherwise, the application downloaded from the app store will not be able to receive the message push .. therefore, you need to re-upload the key of the released version. The upload method is the same as that of the developed version. After successful upload, as shown in:

Summary:

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.