All Projects → saru2020 → SARAddressBookBackup

saru2020 / SARAddressBookBackup

Licence: other
An iOS library to take backup of the device contacts as .vcf file

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 SARAddressBookBackup

tl-create
tl-create is a cross-platform command line tool to create a X.509 trust list from various trust stores. (Keywords: CABFORUM, eIDAS, WebPKI)
Stars: ✭ 32 (+128.57%)
Mutual labels:  apple
Apple-App-Icons
This repository is for hosting Apple App Icons Sketch file, .sketch
Stars: ✭ 31 (+121.43%)
Mutual labels:  apple
go-macho
Package macho implements access to and creation of Mach-O object files.
Stars: ✭ 68 (+385.71%)
Mutual labels:  apple
osxapp vers
Get product name, exact product version and build version from an Apple Install [Mac OS X|OS X|macOS]*.app or from a mounted Mac OS X Install CD/DVD image
Stars: ✭ 12 (-14.29%)
Mutual labels:  apple
ScrollViewProxy
ScrollViewProxy for SwiftUI on iOS 13 and up
Stars: ✭ 135 (+864.29%)
Mutual labels:  apple
tigase-swift
(M) Tigase Swift XMPP client library
Stars: ✭ 53 (+278.57%)
Mutual labels:  apple
SwiftUIFormValidator
Declarative form validator for SwiftUI.
Stars: ✭ 34 (+142.86%)
Mutual labels:  apple
SwiftUI-Tooltip
Easy Tooltip for your SwiftUI Project
Stars: ✭ 130 (+828.57%)
Mutual labels:  apple
WWDC
👩🏻‍💻 1일 1WWDC 영상 보기 🎬
Stars: ✭ 23 (+64.29%)
Mutual labels:  apple
MTJailed-Native
A terminal emulator with remote shell for non-jailbroken iOS devices
Stars: ✭ 24 (+71.43%)
Mutual labels:  apple
ios-spritekit-shader-sandbox
👾 Collection of custom effects for SpriteKit implemented using GLSL/Metal shaders.
Stars: ✭ 63 (+350%)
Mutual labels:  apple
humhub-oauth
Social OAuths built for the Social Platform HumHub
Stars: ✭ 16 (+14.29%)
Mutual labels:  apple
aprenda-swift
Uma lista de conteúdos para você aprender Swift
Stars: ✭ 429 (+2964.29%)
Mutual labels:  apple
neuralhash-collisions
A catalog of naturally occurring images whose Apple NeuralHash is identical.
Stars: ✭ 145 (+935.71%)
Mutual labels:  apple
AppleNeuralHash2ONNX
Convert Apple NeuralHash model for CSAM Detection to ONNX.
Stars: ✭ 1,457 (+10307.14%)
Mutual labels:  apple
BDLocalizedDevicesModels
Apple devices model names localized.
Stars: ✭ 23 (+64.29%)
Mutual labels:  apple
apple-slicer
Parses App Store Connect (formerly iTunes Connect) financial reports and splits sales by their legally accountable Apple subsidiaries
Stars: ✭ 34 (+142.86%)
Mutual labels:  apple
Flocking
An example showing how to use SwiftUI, Satin, Forge and Youi to simulate birds flocking via a compute particle system (n-body).
Stars: ✭ 63 (+350%)
Mutual labels:  apple
Cryptography-and-Privacy
[Accepted] The WWDC19 Scholarship Application Project
Stars: ✭ 30 (+114.29%)
Mutual labels:  apple
Nightscouter
An Native iOS app for displaying Nightscout website data.
Stars: ✭ 18 (+28.57%)
Mutual labels:  apple

SARAddressBookBackup

An iOS library to take Backup of the device contacts as .vcf file.

Instructions :

(i) Copy/Include the "SARAddressBookBackup.h" & "SARAddressBookBackup.m" into your project.
(ii) Copy/Include  "MessageUI.framework" & "AddressBook.framework" into your project.
That's it. Your done.

Also, the Example project illustrates on how to email the .vcf file.

Installation :
Add the following to your CocoaPods Podfile

pod 'SARAddressBookBackup'

or clone as a git submodule,

or just copy SARAddressBookBackup.h and .m into your project.


Usage :

SARAddressBookBackup *addressBook = [[SARAddressBookBackup alloc]init];
addressBook.backupPath = [self applicationDocumentsDirectory];//(Optional). If not given, then the backup
// file is stored under the Documents directory.
__weak SARAddressBookBackup *addressBook_weak = addressBook;
__weak SARViewController *self_weak = self;
addressBook.backupCompletionStatusBlock = ^(NSString *status){
    if ( status == ACCESSDENIED) {
        NSLog(@"ACCESSDENIED : %@",ACCESSDENIED);
    }
    else if ( status == BACKUPFAILED) {
        NSLog(@"BACKUPFAILED : %@",BACKUPFAILED);
    }
    else if ( status == BACKUPSUCCESS) {
        NSLog(@"BACKUPSUCCESS : %@",BACKUPSUCCESS);
        NSLog(@"addressBook.backupPath : %@",addressBook_weak.backupPath);
        [NSTimer scheduledTimerWithTimeInterval:1.0 target:self_weak selector:@selector(emailBackup:) userInfo:addressBook_weak.backupPath repeats:NO];
    }
};
[addressBook backupContacts];


👨🏻‍💻 Author

  • Saravanan alt text

Buy me a coffee/beer

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