Latest 0.1.0
Homepage https://github.com/2020Deception/D2CloudKitManager
License MIT
Platforms ios 10.0
Frameworks UIKit, Foundation, CloudKit
Authors

[![CI Status](http://img.shields.io/travis/Brian Bowman/D2CloudKitManager.svg?style=flat)](https://travis-ci.org/Brian Bowman/D2CloudKitManager)
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

D2CloudKitManager is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "D2CloudKitManager"

Author

Brian Bowman, [email protected]

License

D2CloudKitManager is available under the MIT license. See the LICENSE file for more info.

Usage

First you’ll want to enable CloudKit on the capabilities tab of your project and add it to your app ID.
To get started, place some code like this into your project:

    [[D20CloudKitManager sharedInstance] requestDiscoverabilityPermission:^(BOOL discoverable, NSError * _Nullable error) {
        if (discoverable) {
            [[D20CloudKitManager sharedInstance] discoverUserInfoWithRecordId:nil completionHandler:^(CKUserIdentity * _Nullable user, NSError * _Nullable error) {
                if (error) {
                    [[D20CloudKitManager sharedInstance] handleError:error serverFailureBlock:nil retryCallBlock:nil retryUploadBlock:nil partialFailureBlock:nil errorDisplayBlock:nil];
                }

                NSLog(@"%@ %@ %@", user.nameComponents.givenName, user.nameComponents.familyName, user.lookupInfo.emailAddress);
            }];
        }
    }];

Latest podspec

{
    "name": "D2CloudKitManager",
    "version": "0.1.0",
    "summary": "A wrapper on top of CloudKit to make your life a little easier when integrated with the greatest cloud system in the world.",
    "description": "This pop is essentially a wrapper to use on top of CloudKit for your service call needs. If you are familiar with CloudKit, using this should be straight forward.",
    "homepage": "https://github.com/2020Deception/D2CloudKitManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "2020Deception": "[email protected]"
    },
    "source": {
        "git": "https://github.com/2020Deception/D2CloudKitManager.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/Decepticon2020",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "D2CloudKitManager/Classes/**/*",
    "public_header_files": "D2CloudKitManager/Classes/**/*.h",
    "frameworks": [
        "UIKit",
        "Foundation",
        "CloudKit"
    ]
}

Pin It on Pinterest

Share This