Skip to content

dawand/PlistToCloudKit

Repository files navigation

Plist to CloudKit

CloudKit

Upload your Plist files instantly to CloudKit using this tool. You do not need to manually enter your data to CloudKit.

Installation

Add the file PlistCloud.swift to your project

Usage

  1. In the iCloud dashboard, add your Record type and attributes. Dashboard example
  2. Turn on iCloud in the Capabilities tab for your build target. Make sure to enable CloudKit using the checkbox that shows up. iCloud Entitlements
  3. Set the container name PlistCloud.setContainer("iCloud.com.carrotApps.plist")
  4. Set the Record Type name PlistCloud.setRecord("contact")
  5. Set the field names PlistCloud.setFields(["id","name"])
  6. Set your Plist file name PlistCloud.setFileName("contact") Plist File

Example Project

Run the program and check the ExampleViewController.swift file to see how this works!

##Feedback and Contribution

##Copyrights

  • Copyright (c) 2016 - Dawand Sulaiman.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages