Skip to content

Commit

Permalink
Add podspecs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed May 27, 2019
1 parent dedf40e commit faa2449
Show file tree
Hide file tree
Showing 157 changed files with 539 additions and 2,927 deletions.
1,359 changes: 52 additions & 1,307 deletions ChatSecure.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ChatSecure/Classes/Categories/UITableView+ChatSecure.m
Expand Up @@ -8,7 +8,7 @@

#import "UITableView+ChatSecure.h"
#import "OTRXMPPBuddy.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"
#import "OTRXMPPManager_Private.h"
@import OTRAssets;

Expand Down
3 changes: 1 addition & 2 deletions ChatSecure/Classes/Controllers/OTRDatabaseManager.m
Expand Up @@ -15,7 +15,6 @@
#import "OTRConstants.h"
#import "OTRXMPPAccount.h"
#import "OTRXMPPTorAccount.h"
#import "OTRGoogleOAuthXMPPAccount.h"
#import "OTRAccount.h"
#import "OTRIncomingMessage.h"
#import "OTROutgoingMessage.h"
Expand All @@ -29,7 +28,7 @@
#import "OTRSignalSession.h"
#import "OTRSettingsManager.h"
#import "OTRXMPPPresenceSubscriptionRequest.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"


@interface OTRDatabaseManager ()
Expand Down
2 changes: 1 addition & 1 deletion ChatSecure/Classes/Controllers/OTRDatabaseView.m
Expand Up @@ -14,7 +14,7 @@
#import "OTRIncomingMessage.h"
#import "OTRLog.h"
#import "OTROutgoingMessage.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"

NSString *OTRArchiveFilteredConversationsName = @"OTRFilteredConversationsName";
NSString *OTRBuddyFilteredConversationsName = @"OTRBuddyFilteredConversationsName";
Expand Down
2 changes: 1 addition & 1 deletion ChatSecure/Classes/Controllers/OTREncryptionManager.m
Expand Up @@ -41,7 +41,7 @@
#import "OTRLog.h"
#import "OTRXMPPManager.h"
#import "OTRYapMessageSendAction.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"

@import AVFoundation;
@import XMPPFramework;
Expand Down
21 changes: 0 additions & 21 deletions ChatSecure/Classes/Controllers/OTROAuthRefresher.h

This file was deleted.

41 changes: 0 additions & 41 deletions ChatSecure/Classes/Controllers/OTROAuthRefresher.m

This file was deleted.

21 changes: 2 additions & 19 deletions ChatSecure/Classes/Controllers/OTRProtocolManager.m
Expand Up @@ -26,8 +26,6 @@
#import "OTRIncomingMessage.h"
#import "OTROutgoingMessage.h"
#import "OTRConstants.h"
#import "OTROAuthRefresher.h"
#import "OTROAuthXMPPAccount.h"
#import "OTRDatabaseManager.h"
#import "OTRPushTLVHandler.h"
#import <BBlock/NSObject+BBlock.h>
Expand All @@ -36,7 +34,7 @@
@import KVOController;
@import OTRAssets;
#import "OTRLog.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"
#import "OTRXMPPPresenceSubscriptionRequest.h"

@interface OTRProtocolManager ()
Expand Down Expand Up @@ -136,22 +134,7 @@ - (void)loginAccount:(OTRAccount *)account userInitiated:(BOOL)userInitiated
if (!account) { return; }
id <OTRProtocol> protocol = [self protocolForAccount:account];

if([account isKindOfClass:[OTROAuthXMPPAccount class]])
{
[OTROAuthRefresher refreshAccount:(OTROAuthXMPPAccount *)account completion:^(id token, NSError *error) {
if (!error) {
((OTROAuthXMPPAccount *)account).accountSpecificToken = token;
[protocol connectUserInitiated:userInitiated];
}
else {
DDLogError(@"Error Refreshing Token");
}
}];
}
else
{
[protocol connectUserInitiated:userInitiated];
}
[protocol connectUserInitiated:userInitiated];
}

- (void)loginAccount:(OTRAccount *)account
Expand Down
48 changes: 0 additions & 48 deletions ChatSecure/Classes/Controllers/OTRPurchaseController.h

This file was deleted.

176 changes: 0 additions & 176 deletions ChatSecure/Classes/Controllers/OTRPurchaseController.m

This file was deleted.

2 changes: 1 addition & 1 deletion ChatSecure/Classes/Controllers/OTRSettingsManager.m
Expand Up @@ -36,7 +36,7 @@
#import "OTRIntSetting.h"
#import "OTRCertificateSetting.h"
#import "OTRUtilities.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"

#import "OTRUtilities.h"

Expand Down
2 changes: 1 addition & 1 deletion ChatSecure/Classes/Controllers/XMPP/OTRXMPPBuddyManager.m
Expand Up @@ -7,7 +7,7 @@
//

#import "OTRXMPPBuddyManager.h"
#import <ChatSecureCore/ChatSecureCore-Swift.h>
#import "ChatSecureCoreCompat-Swift.h"
@import XMPPFramework;
#import "OTRXMPPBuddy.h"
@import YapDatabase;
Expand Down

0 comments on commit faa2449

Please sign in to comment.