From f11b1bf799755d155bf14777614ed39317728ea8 Mon Sep 17 00:00:00 2001 From: Alexey Belkevich Date: Mon, 5 Oct 2015 15:56:50 +0300 Subject: [PATCH] Removed duplicated files --- .../AddressBook.xcodeproj/project.pbxproj | 6 --- Pod/Core/APAddress.h | 22 ----------- Pod/Core/APContact.h | 38 ------------------- Pod/Core/APSocialProfile.h | 30 --------------- Pod/Core/Public/Models/APTypes.h | 2 +- 5 files changed, 1 insertion(+), 97 deletions(-) delete mode 100755 Pod/Core/APAddress.h delete mode 100755 Pod/Core/APContact.h delete mode 100644 Pod/Core/APSocialProfile.h diff --git a/Example/Swift/AddressBook.xcodeproj/project.pbxproj b/Example/Swift/AddressBook.xcodeproj/project.pbxproj index 9a4737b..c5f9db2 100644 --- a/Example/Swift/AddressBook.xcodeproj/project.pbxproj +++ b/Example/Swift/AddressBook.xcodeproj/project.pbxproj @@ -40,8 +40,6 @@ /* Begin PBXFileReference section */ 2DBA102681262588EE7ED16A /* APRelatedPerson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APRelatedPerson.h; sourceTree = ""; }; 2DBA10442A033217D1DC2AFB /* APContact.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APContact.h; sourceTree = ""; }; - 2DBA106BA232A3798FAC479E /* APContact.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APContact.h; sourceTree = ""; }; - 2DBA107C5BD404C71AD45AD7 /* APSocialProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APSocialProfile.h; sourceTree = ""; }; 2DBA10BD5C043BD14272E54F /* APAddressBook.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = APAddressBook.m; sourceTree = ""; }; 2DBA10CD448035BCCF8CE18C /* APSocialServiceHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = APSocialServiceHelper.m; sourceTree = ""; }; 2DBA10E940F4C7E60D2262F6 /* APEmail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APEmail.h; sourceTree = ""; }; @@ -82,7 +80,6 @@ 2DBA1C5CF713C376E950F8B0 /* APRecordDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APRecordDate.h; sourceTree = ""; }; 2DBA1CF60065FEF98A3C708D /* APAddressBookExternalChangeRoutine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APAddressBookExternalChangeRoutine.h; sourceTree = ""; }; 2DBA1CFC3695941F9B6C0192 /* APAddressBookContactsRoutine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APAddressBookContactsRoutine.h; sourceTree = ""; }; - 2DBA1D129DDC82CFCF2ED509 /* APAddress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APAddress.h; sourceTree = ""; }; 2DBA1D31B171A05F7591F068 /* APName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APName.h; sourceTree = ""; }; 2DBA1E30D2262D6633DBBC21 /* APName.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = APName.m; sourceTree = ""; }; 2DBA1E9C053CF61078C9837B /* APAddressBook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APAddressBook.h; sourceTree = ""; }; @@ -196,9 +193,6 @@ children = ( 2DBA1090E5E8FDD43C06D584 /* Public */, 2DBA1083ADA1F7E266A0CC86 /* Private */, - 2DBA1D129DDC82CFCF2ED509 /* APAddress.h */, - 2DBA106BA232A3798FAC479E /* APContact.h */, - 2DBA107C5BD404C71AD45AD7 /* APSocialProfile.h */, ); path = Core; sourceTree = ""; diff --git a/Pod/Core/APAddress.h b/Pod/Core/APAddress.h deleted file mode 100755 index 4c1f561..0000000 --- a/Pod/Core/APAddress.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// APAddress.h -// AddressBook -// -// Created by Alexey Belkevich on 4/19/14. -// Copyright (c) 2014 alterplay. All rights reserved. -// - -#import - -@interface APAddress : NSObject - -@property (nullable, nonatomic, readonly) NSString *street; -@property (nullable, nonatomic, readonly) NSString *city; -@property (nullable, nonatomic, readonly) NSString *state; -@property (nullable, nonatomic, readonly) NSString *zip; -@property (nullable, nonatomic, readonly) NSString *country; -@property (nullable, nonatomic, readonly) NSString *countryCode; - -- (nonnull id)initWithAddressDictionary:(nonnull NSDictionary *)dictionary; - -@end diff --git a/Pod/Core/APContact.h b/Pod/Core/APContact.h deleted file mode 100755 index 24a4986..0000000 --- a/Pod/Core/APContact.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// APContact.h -// APAddressBook -// -// Created by Alexey Belkevich on 1/10/14. -// Copyright (c) 2014 alterplay. All rights reserved. -// - -#import -#import -#import -#import "APTypes.h" - -@interface APContact : NSObject - -@property (nonatomic, readonly) APContactField fieldMask; -@property (nullable, nonatomic, readonly) NSString *firstName; -@property (nullable, nonatomic, readonly) NSString *middleName; -@property (nullable, nonatomic, readonly) NSString *lastName; -@property (nullable, nonatomic, readonly) NSString *compositeName; -@property (nullable, nonatomic, readonly) NSString *company; -@property (nullable, nonatomic, readonly) NSString *jobTitle; -@property (nullable, nonatomic, readonly) NSArray *phones; -@property (nullable, nonatomic, readonly) NSArray *phonesWithLabels; -@property (nullable, nonatomic, readonly) NSArray *emails; -@property (nullable, nonatomic, readonly) NSArray *addresses; -@property (nullable, nonatomic, readonly) UIImage *photo; -@property (nullable, nonatomic, readonly) UIImage *thumbnail; -@property (nullable, nonatomic, readonly) NSNumber *recordID; -@property (nullable, nonatomic, readonly) NSDate *creationDate; -@property (nullable, nonatomic, readonly) NSDate *modificationDate; -@property (nullable, nonatomic, readonly) NSArray *socialProfiles; -@property (nullable, nonatomic, readonly) NSString *note; -@property (nullable, nonatomic, readonly) NSArray *linkedRecordIDs; - -- (nonnull id)initWithRecordRef:(nonnull ABRecordRef)recordRef fieldMask:(APContactField)fieldMask; - -@end diff --git a/Pod/Core/APSocialProfile.h b/Pod/Core/APSocialProfile.h deleted file mode 100644 index 980f68b..0000000 --- a/Pod/Core/APSocialProfile.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// APSocialContact.h -// SyncBook -// -// Created by David on 2014-08-01. -// Copyright (c) 2014 David Muzi. All rights reserved. -// - -#import - -typedef NS_ENUM(NSUInteger, APSocialNetworkType) -{ - APSocialNetworkUnknown = 0, - APSocialNetworkFacebook = 1, - APSocialNetworkTwitter = 2, - APSocialNetworkLinkedIn = 3, - APSocialNetworkFlickr = 4, - APSocialNetworkGameCenter = 5 -}; - -@interface APSocialProfile : NSObject - -@property (nonatomic, readonly) APSocialNetworkType socialNetwork; -@property (nullable, nonatomic, readonly) NSString *username; -@property (nullable, nonatomic, readonly) NSString *userIdentifier; -@property (nullable, nonatomic, readonly) NSURL *url; - -- (nonnull instancetype)initWithSocialDictionary:(nonnull NSDictionary *)dictionary; - -@end diff --git a/Pod/Core/Public/Models/APTypes.h b/Pod/Core/Public/Models/APTypes.h index bf12680..be8f38e 100644 --- a/Pod/Core/Public/Models/APTypes.h +++ b/Pod/Core/Public/Models/APTypes.h @@ -16,7 +16,7 @@ typedef NS_ENUM(NSUInteger, APAddressBookAccess) typedef NS_OPTIONS(NSUInteger, APContactField) { APContactFieldName = 1 << 0, - APContactFieldJob = 1 << 1, + APContactFieldJob = 1 << 1, APContactFieldThumbnail = 1 << 2, APContactFieldPhonesOnly = 1 << 3, APContactFieldPhonesWithLabels = 1 << 4,