Latest 0.2.1
Homepage https://github.com/felix-dumit/CNContactStore-Bolts
License MIT
Platforms ios 8.0
Dependencies Bolts/Tasks
Frameworks Contacts
Authors

CNContactStore-Bolts

Bolts wrapper for CNContactStore callbacks

@interface CNContactStore (Bolts)

- (BFTask<NSNumber *> *)requestAccessForEntityType:(CNEntityType)entityType;

- (BFTask< NSArray<CNContact *> * > *)unifiedContactsMatchingPredicate:(nonnull NSPredicate *)predicate keysToFetch:(nullable NSArray<id<CNKeyDescriptor> > *)keys;

- (BFTask<CNContact *> *)unifiedContactWithIdentifier:(nonnull NSString *)identifier keysToFetch:(nullable NSArray<id<CNKeyDescriptor> > *)keys;

- (BFTask<CNContact *>*)unifiedMeContactWithKeysToFetch:(nullable NSArray<id<CNKeyDescriptor>> *)keys NS_AVAILABLE(10_11, NA) __WATCHOS_PROHIBITED;

- (BFTask<NSNumber *> *)enumerateContactsWithFetchRequest:(nonnull CNContactFetchRequest *)fetchRequest usingBlock:(nullable void (^)(CNContact *_Nonnull, BOOL *_Nonnull))block;

- (BFTask<NSArray<CNGroup *> *> *)groupsMatchingPredicate:(nullable NSPredicate *)predicate;

- (BFTask<NSArray<CNContainer *> *> *)containersMatchingPredicate:(nonnull NSPredicate *)predicate;

- (BFTask<NSNumber *> *)executeSaveRequest:(nonnull CNSaveRequest *)saveRequest;
@end

Latest podspec

{
    "name": "CNContactStore+Bolts",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "Bolts wrapper for CNContactStore callback and error pointers",
    "version": "0.2.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Felix Dumit": "[email protected]"
    },
    "homepage": "https://github.com/felix-dumit/CNContactStore-Bolts",
    "source": {
        "git": "https://github.com/felix-dumit/CNContactStore-Bolts.git",
        "tag": "0.2.1"
    },
    "frameworks": "Contacts",
    "dependencies": {
        "Bolts/Tasks": []
    },
    "source_files": "CNContactStore+Bolts.{h,m}"
}

Pin It on Pinterest

Share This