Upload your Plist files instantly to CloudKit using this tool. You do not need to manually enter your data to CloudKit.
Add the file PlistCloud.swift to your project
- In the iCloud dashboard, add your Record type and attributes.
- Turn on iCloud in the Capabilities tab for your build target. Make sure to enable CloudKit using the checkbox that shows up.
- Set the container name
PlistCloud.setContainer("iCloud.com.carrotApps.plist")
- Set the Record Type name
PlistCloud.setRecord("contact")
- Set the field names
PlistCloud.setFields(["id","name"])
- Set your Plist file name
PlistCloud.setFileName("contact")
Run the program and check the ExampleViewController.swift file to see how this works!
##Feedback and Contribution
##Copyrights
- Copyright (c) 2016 - Dawand Sulaiman.