{"id":3037,"url":"https://github.com/abdullahselek/ContactsWrapper","last_synced_at":"2025-08-03T12:32:00.506Z","repository":{"id":10200495,"uuid":"64686988","full_name":"abdullahselek/ContactsWrapper","owner":"abdullahselek","description":"Contacts wrapper for iOS 9 or upper with Objective-C","archived":false,"fork":false,"pushed_at":"2024-05-14T10:37:28.000Z","size":427,"stargazers_count":22,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-24T21:12:08.655Z","etag":null,"topics":["carthage","cocoapods","contacts","contacts-wrapper","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdullahselek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-01T17:21:47.000Z","updated_at":"2024-05-14T09:24:50.000Z","dependencies_parsed_at":"2024-04-24T18:29:15.969Z","dependency_job_id":null,"html_url":"https://github.com/abdullahselek/ContactsWrapper","commit_stats":{"total_commits":110,"total_committers":4,"mean_commits":27.5,"dds":"0.15454545454545454","last_synced_commit":"15d4e56902f50d7ee1f22c5a2efd0080a75b7712"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FContactsWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FContactsWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FContactsWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FContactsWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/ContactsWrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543285,"owners_count":17934456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carthage","cocoapods","contacts","contacts-wrapper","xcode"],"created_at":"2024-01-05T20:16:29.606Z","updated_at":"2024-12-07T00:31:14.841Z","avatar_url":"https://github.com/abdullahselek.png","language":"Objective-C","funding_links":[],"categories":["Utility"],"sub_categories":["Web View","Other free courses"],"readme":"[![Build Status](https://travis-ci.org/abdullahselek/ContactsWrapper.svg?branch=master)](https://travis-ci.org/abdullahselek/ContactsWrapper)\n![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ContactsWrapper.svg)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Coverage Status](https://coveralls.io/repos/github/abdullahselek/ContactsWrapper/badge.svg?branch=master)](https://coveralls.io/github/abdullahselek/ContactsWrapper?branch=master)\n![Platform](https://img.shields.io/cocoapods/p/ContactsWrapper.svg?style=flat)\n![License](https://img.shields.io/dub/l/vibe-d.svg)\n\n# ContactsWrapper\nContacts wrapper for iOS 9 or upper with Objective-C. For the information translated to Russian, take a look at this [link](http://gargo.of.by/contactswrapper/).\n\n## Requirements\niOS 9.0+\n\n## CocoaPods\n\nCocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:\n```\t\n$ gem install cocoapods\n```\nTo integrate ContactsWrapper into your Xcode project using CocoaPods, specify it in your Podfile:\n```\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n\tpod 'ContactsWrapper', '1.0.2'\nend\n```\nThen, run the following command:\n```\n$ pod install\n```\n## Carthage\n\nCarthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with Homebrew using the following command:\n\n```\nbrew update\nbrew install carthage\n```\n\nTo integrate ContactsWrapper into your Xcode project using Carthage, specify it in your Cartfile:\n\n```\ngithub \"abdullahselek/ContactsWrapper\" ~\u003e 1.0.2\n```\n\nRun carthage update to build the framework and drag the built ContactsWrapper.framework into your Xcode project.\n\n### For iOS 10\n```\nadd \"Privacy - Contacts Usage Description\" to your application .plist file\n```\n## Available methods\n\n- Get all contacts if available with CNContactFamilyNameKey, CNContactGivenNameKey, CNContactPhoneNumbersKey, CNContactImageDataKey descriptors\n```\n- (void)getContactsWithContainerId:(nullable NSString *)containerId completionBlock:(void (^)(NSArray\u003cCNContact *\u003e * _Nullable contacts, NSError  * _Nullable error))completionBlock;\n```\n\t\n- Get all contacts with given key descriptors\n```\n- (void)getContactsWithKeys:(NSArray\u003cid\u003cCNKeyDescriptor\u003e\u003e *)keys \n\t\t\t\tcontainerId:(nullable NSString *)containerId\n\t\t\tcompletionBlock:(void (^)(NSArray\u003cCNContact *\u003e * _Nullable contacts, NSError  * _Nullable error))completionBlock\n```\n\n- Saves given contact\n```\n- (void)saveContact:(CNMutableContact *)contact\n\t\tcontainerId:(nullable NSString *)containerId\n\tcompletionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock\n```\n\n- Get contacts with given name\n```\n- (void)getContactsWithGivenName:(NSString *)givenName\n                 completionBlock:(void (^)(NSArray\u003cCNContact *\u003e * _Nullable contacts, NSError * _Nullable error))completionBlock\n```\n\n- Get contacts with given and family name\n```\n- (void)getContactsWithGivenName:(NSString *)givenName \n\t\t\t\t\t  familyName:(NSString *)familyName \n\t\t\t     completionBlock:(void (^)(NSArray\u003cCNContact *\u003e * _Nullable contacts, NSError * _Nullable error))completionBlock\n```\n\n- Updates given contact\n```\n- (void)updateContact:(CNMutableContact *)contact\n      completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock\n```\n\n- Get contacts with given email address\n```\n- (void)getContactsWithEmailAddress:(NSString *)emailAddress\n                    completionBlock:(void (^)(NSArray\u003cCNContact *\u003e * _Nullable contacts, NSError * _Nullable error))completionBlock\n```\n- Delete given contact\n```\n- (void)deleteContact:(CNMutableContact *)contact\n      completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock\n```      \n\n- Add given group to contacts list\n```\n- (void)addGroup:(CNMutableGroup *)group\n\t containerId:(nullable NSString *)containerId\n completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock\n```\n\n- Add given member to given group\n```\n- (void)addGroupMember:(CNContact *)contact\n                 group:(CNGroup *)group\n       completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock\n```\n\n- Add given contacts to given group\n```\n- (void)addGroupMembers:(NSArray\u003cCNMutableContact *\u003e *)contacts\n                  group:(CNGroup *)group\n        completionBlock:(void (^)(BOOL isSuccess, NSError * _Nullable error))completionBlock\n```\n\n- Fething groups\n```\n- (void)getGroupsWithContainerId:(nullable NSString *)containerId completionBlock:(void (^)(NSArray\u003cCNGroup *\u003e * _Nullable groups, NSError * _Nullable error))completionBlock\n```\n\n- Delete group\n```\n- (void)deleteGroup:(CNMutableGroup *)group\n    completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock;\n```\n\n- Update group\n```\n- (void)updateGroup:(CNMutableGroup *)group\n    completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock;\n```\n\n- Fetching containers\n```\n- (void)getContainers:(void (^)(NSArray\u003cCNContainer *\u003e * _Nullable containers, NSError * _Nullable error))completionBlock\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Abdullah Selek\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2FContactsWrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2FContactsWrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2FContactsWrapper/lists"}