All Projects → abdullahselek → ContactsWrapper

abdullahselek / ContactsWrapper

Licence: MIT license
Contacts wrapper for iOS 9 or upper with Objective-C

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ContactsWrapper

SwiftyContacts
A Swift library for Contacts framework.
Stars: ✭ 205 (+831.82%)
Mutual labels:  contacts, contacts-wrapper
Suitecrm
SuiteCRM - Open source CRM for the world
Stars: ✭ 2,770 (+12490.91%)
Mutual labels:  contacts
Q Municate Services Ios
Easy-to-use services for Quickblox SDK, for speeding up development of iOS chat applications
Stars: ✭ 30 (+36.36%)
Mutual labels:  contacts
Decsynccc
Android app to sync contacts, calendars and tasks without a server using DecSync
Stars: ✭ 101 (+359.09%)
Mutual labels:  contacts
Whatsup
**Deprecated** Real time chat app written in Swift 4 using Firebase and OTP Authentication
Stars: ✭ 39 (+77.27%)
Mutual labels:  contacts
Privacy services manager
A single management utility to administer Location Services, Contacts requests, Accessibility, and iCloud access in Apple's OS X.
Stars: ✭ 115 (+422.73%)
Mutual labels:  contacts
Wechat
🔥 iOS 利用MVVM + RAC + ViewModel-Based Navigation来搭建微信(WeChat 7.0.0+)的整体基本架构,以及实现微信朋友圈、通讯录、下拉小程序、搜索等主要功能,代码规范惊为天人、注释详解令人发指、细节处理精益求精、核心功能配备文档、接近98%还原度的原生App视觉体验,代码不多,注释多。(持续更新,敬请期待,欢迎Star和Fork…)
Stars: ✭ 870 (+3854.55%)
Mutual labels:  contacts
laravel-vcard
A fluent builder class for vCard files.
Stars: ✭ 29 (+31.82%)
Mutual labels:  contacts
Memento Calendar
The sweetest calendar for Android
Stars: ✭ 212 (+863.64%)
Mutual labels:  contacts
React Native Contacts
React Native Contacts
Stars: ✭ 1,369 (+6122.73%)
Mutual labels:  contacts
Contacts
A flutter project with Implementation of a Contacts app in 4 ways (API, Custom, Preferences and Sqflite).
Stars: ✭ 100 (+354.55%)
Mutual labels:  contacts
Yetiforcecrm
Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
Stars: ✭ 1,056 (+4700%)
Mutual labels:  contacts
React Native Unified Contacts
Your best friend when working with the latest and greatest Contacts Framework in iOS 9+ in React Native.
Stars: ✭ 156 (+609.09%)
Mutual labels:  contacts
Flutter Contacts Plugin
Contact plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to read, create and update contacts from the address book.
Stars: ✭ 38 (+72.73%)
Mutual labels:  contacts
Ljcontactmanager
LJContanctManager 是一款操作通讯录的类库
Stars: ✭ 226 (+927.27%)
Mutual labels:  contacts
Vdirsyncer
📇 Synchronize calendars and contacts.
Stars: ✭ 872 (+3863.64%)
Mutual labels:  contacts
React Native Paged Contacts
Paged contacts for React Native
Stars: ✭ 79 (+259.09%)
Mutual labels:  contacts
Django Contacts
A Django address book application.
Stars: ✭ 103 (+368.18%)
Mutual labels:  contacts
go-vcard
A Go library to parse and format vCard
Stars: ✭ 87 (+295.45%)
Mutual labels:  contacts
csv2vcf
🔧 Simple script in python to convert CSV files to VCF
Stars: ✭ 66 (+200%)
Mutual labels:  contacts

Build Status CocoaPods Compatible Carthage Compatible Coverage Status Platform License

ContactsWrapper

Contacts wrapper for iOS 9 or upper with Objective-C. For the information translated to Russian, take a look at this link.

Requirements

iOS 9.0+

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate ContactsWrapper into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
	pod 'ContactsWrapper', '1.0.2'
end

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

brew update
brew install carthage

To integrate ContactsWrapper into your Xcode project using Carthage, specify it in your Cartfile:

github "abdullahselek/ContactsWrapper" ~> 1.0.2

Run carthage update to build the framework and drag the built ContactsWrapper.framework into your Xcode project.

For iOS 10

add "Privacy - Contacts Usage Description" to your application .plist file

Available methods

  • Get all contacts if available with CNContactFamilyNameKey, CNContactGivenNameKey, CNContactPhoneNumbersKey, CNContactImageDataKey descriptors
- (void)getContactsWithContainerId:(nullable NSString *)containerId completionBlock:(void (^)(NSArray<CNContact *> * _Nullable contacts, NSError  * _Nullable error))completionBlock;
  • Get all contacts with given key descriptors
- (void)getContactsWithKeys:(NSArray<id<CNKeyDescriptor>> *)keys 
				containerId:(nullable NSString *)containerId
			completionBlock:(void (^)(NSArray<CNContact *> * _Nullable contacts, NSError  * _Nullable error))completionBlock
  • Saves given contact
- (void)saveContact:(CNMutableContact *)contact
		containerId:(nullable NSString *)containerId
	completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock
  • Get contacts with given name
- (void)getContactsWithGivenName:(NSString *)givenName
                 completionBlock:(void (^)(NSArray<CNContact *> * _Nullable contacts, NSError * _Nullable error))completionBlock
  • Get contacts with given and family name
- (void)getContactsWithGivenName:(NSString *)givenName 
					  familyName:(NSString *)familyName 
			     completionBlock:(void (^)(NSArray<CNContact *> * _Nullable contacts, NSError * _Nullable error))completionBlock
  • Updates given contact
- (void)updateContact:(CNMutableContact *)contact
      completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock
  • Get contacts with given email address
- (void)getContactsWithEmailAddress:(NSString *)emailAddress
                    completionBlock:(void (^)(NSArray<CNContact *> * _Nullable contacts, NSError * _Nullable error))completionBlock
  • Delete given contact
- (void)deleteContact:(CNMutableContact *)contact
      completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock
  • Add given group to contacts list
- (void)addGroup:(CNMutableGroup *)group
	 containerId:(nullable NSString *)containerId
 completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock
  • Add given member to given group
- (void)addGroupMember:(CNContact *)contact
                 group:(CNGroup *)group
       completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock
  • Add given contacts to given group
- (void)addGroupMembers:(NSArray<CNMutableContact *> *)contacts
                  group:(CNGroup *)group
        completionBlock:(void (^)(BOOL isSuccess, NSError * _Nullable error))completionBlock
  • Fething groups
- (void)getGroupsWithContainerId:(nullable NSString *)containerId completionBlock:(void (^)(NSArray<CNGroup *> * _Nullable groups, NSError * _Nullable error))completionBlock
  • Delete group
- (void)deleteGroup:(CNMutableGroup *)group
    completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock;
  • Update group
- (void)updateGroup:(CNMutableGroup *)group
    completionBlock:(void (^)(bool isSuccess, NSError * _Nullable error))completionBlock;
  • Fetching containers
- (void)getContainers:(void (^)(NSArray<CNContainer *> * _Nullable containers, NSError * _Nullable error))completionBlock

License

The MIT License (MIT)

Copyright (c) 2016 Abdullah Selek

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].