All Projects → leejayID → Ljcontactmanager

leejayID / Ljcontactmanager

Licence: mit
LJContanctManager 是一款操作通讯录的类库

Labels

Projects that are alternatives of or similar to Ljcontactmanager

Chips Input Layout
A customizable Android ViewGroup for displaying Chips (specified in the Material Design Guide).
Stars: ✭ 591 (+161.5%)
Mutual labels:  contacts
Templates Using Bootstrap4
🌆 Here I've aggregated some of the most commonly used web-page templates made using Bootstrap4 🛒
Stars: ✭ 60 (-73.45%)
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 (-49.12%)
Mutual labels:  contacts
Wechat
🔥 iOS 利用MVVM + RAC + ViewModel-Based Navigation来搭建微信(WeChat 7.0.0+)的整体基本架构,以及实现微信朋友圈、通讯录、下拉小程序、搜索等主要功能,代码规范惊为天人、注释详解令人发指、细节处理精益求精、核心功能配备文档、接近98%还原度的原生App视觉体验,代码不多,注释多。(持续更新,敬请期待,欢迎Star和Fork…)
Stars: ✭ 870 (+284.96%)
Mutual labels:  contacts
Whatsup
**Deprecated** Real time chat app written in Swift 4 using Firebase and OTP Authentication
Stars: ✭ 39 (-82.74%)
Mutual labels:  contacts
Contacts
A flutter project with Implementation of a Contacts app in 4 ways (API, Custom, Preferences and Sqflite).
Stars: ✭ 100 (-55.75%)
Mutual labels:  contacts
Phonetic
An iOS App to generate phonetic keys for your Chinese contacts. Written in Swift.
Stars: ✭ 574 (+153.98%)
Mutual labels:  contacts
Memento Calendar
The sweetest calendar for Android
Stars: ✭ 212 (-6.19%)
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 (+367.26%)
Mutual labels:  contacts
Django Contacts
A Django address book application.
Stars: ✭ 103 (-54.42%)
Mutual labels:  contacts
Vdirsyncer
📇 Synchronize calendars and contacts.
Stars: ✭ 872 (+285.84%)
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 (-83.19%)
Mutual labels:  contacts
React Native Contacts
React Native Contacts
Stars: ✭ 1,369 (+505.75%)
Mutual labels:  contacts
Azlistview
A Flutter sticky headers & index ListView. Flutter 城市列表、联系人列表,索引&悬停。
Stars: ✭ 632 (+179.65%)
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 (-30.97%)
Mutual labels:  contacts
Alerts And Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Stars: ✭ 5,267 (+2230.53%)
Mutual labels:  contacts
React Native Paged Contacts
Paged contacts for React Native
Stars: ✭ 79 (-65.04%)
Mutual labels:  contacts
Suitecrm
SuiteCRM - Open source CRM for the world
Stars: ✭ 2,770 (+1125.66%)
Mutual labels:  contacts
Swiftycontacts
A Swift library for Contacts framework.
Stars: ✭ 171 (-24.34%)
Mutual labels:  contacts
Decsynccc
Android app to sync contacts, calendars and tasks without a server using DecSync
Stars: ✭ 101 (-55.31%)
Mutual labels:  contacts

LJContactManager

Version License Platform Language

介绍

LJContanctManager 是一款操作通讯录的类库,iOS 9 之前使用的是 AddressBook 和 AddressBookUI 系统库,iOS 9 之后使用苹果新推出的 Contacts 和 ContactsUI 框架,一行代码搞定通讯录。

安装

CocoaPods

  1. 在 Podfile 中添加 pod 'LJContactManager'
  2. 执行 pod installpod update
  3. 导入 <LJContactManager.h>。

手动安装

  1. 下载 LJContactManager 文件夹内的所有内容。
  2. 将 LJContactManager 内的源文件添加(拖放)到你的工程。
  3. 导入 LJContactManager.h

使用

主要提供以下的方法:

  • 选择联系人
/**
 选择联系人

 @param controller 控制器
 @param completcion 回调
 */
- (void)selectContactAtController:(UIViewController *)controller
                      complection:(void (^)(NSString *name, NSString *phone))completcion;

  • 创建新联系人
/**
 创建新联系人

 @param phoneNum 手机号
 @param controller 当前 Controller
 */
- (void)createNewContactWithPhoneNum:(NSString *)phoneNum controller:(UIViewController *)controller;

  • 添加到现有联系人
/**
 添加到现有联系人

 @param phoneNum 手机号
 @param controller 当前 Controller
 */
- (void)addToExistingContactsWithPhoneNum:(NSString *)phoneNum controller:(UIViewController *)controller;

  • 获取联系人列表(未分组的通讯录)
/**
 获取联系人列表(未分组的通讯录)
 
 @param completcion 回调
 */
- (void)accessContactsComplection:(void (^)(BOOL succeed, NSArray <LJPerson *> *contacts))completcion;

  • 获取联系人列表(已分组的通讯录)
/**
 获取联系人列表(已分组的通讯录)

 @param completcion 回调
 */
- (void)accessSectionContactsComplection:(void (^)(BOOL succeed, NSArray <LJSectionPerson *> *contacts, NSArray <NSString *> *keys))completcion;

  • 通讯录变更回调
/**
 通讯录变更回调
 */
@property (nonatomic, copy) LJContactChangeHandler contactChangeHandler;

系统要求

该项目最低支持 iOS 8.0 和 Xcode 7.0。

相关文章

iOS 通讯录开发的所有姿势

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].