Skip to content

Commit

Permalink
Merge pull request #1278 from wmathurin/unstable
Browse files Browse the repository at this point in the history
Headers in SalesforceSDKCore should not import from <SalesforceSDKCore/...>
  • Loading branch information
wmathurin committed Dec 8, 2015
2 parents b3cd758 + 6f9b296 commit 0056c4e
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 13 deletions.
1 change: 1 addition & 0 deletions SalesforceMobileSDK-iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|
:submodules => true }

s.requires_arc = true
s.default_subspec = 'SalesforceSDKCore'

s.subspec 'SalesforceSDKCore' do |sdkcore|

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#import "SFUserActivityMonitor.h"
#import "SFApplication.h"
#import <SalesforceSDKCore/SFInactivityTimerCenter.h>
#import "SFInactivityTimerCenter.h"

// Singleton instance
static SFUserActivityMonitor *_instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#import "SFGeneratedKeyStore.h"
#import "SFKeyStore+Internal.h"
#import "SFKeyStoreKey.h"
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import "SFKeychainItemWrapper.h"

// Keychain and NSCoding constants
static NSString * const kGeneratedKeyStoreKeychainIdentifier = @"com.salesforce.keystore.generatedKeystoreKeychainId";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/

#import "SFKeyStore+Internal.h"
#import <SalesforceSDKCore/SFCrypto.h>
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import "SFCrypto.h"
#import "SFKeychainItemWrapper.h"
#import "SFSDKCryptoUtils.h"

@implementation SFKeyStore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

#import "SFKeyStoreManager+Internal.h"
#import "SFSDKCryptoUtils.h"
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import <SalesforceSDKCore/SFCrypto.h>
#import "SFKeychainItemWrapper.h"
#import "SFCrypto.h"

// Keychain and NSCoding constants
static NSString * const kKeyStoreKeychainIdentifier = @"com.salesforce.keystore.keystoreKeychainId";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
*/

#import "SFPBKDF2PasscodeProvider.h"
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import "SFKeychainItemWrapper.h"
#import "SFPBKDFData.h"
#import "SFSDKCryptoUtils.h"
#import <SalesforceSDKCore/NSData+SFAdditions.h>
#import "NSData+SFAdditions.h"

static NSString * const kKeychainIdentifierPasscodeVerify = @"com.salesforce.security.passcode.pbkdf2.verify";
static NSString * const kKeychainIdentifierPasscodeEncrypt = @"com.salesforce.security.passcode.pbkdf2.encrypt";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#import "SFKeyStoreKey.h"
#import "SFPasscodeManager.h"
#import "SFKeyStoreManager+Internal.h"
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import "SFKeychainItemWrapper.h"

// Keychain and NSCoding constants
static NSString * const kPasscodeKeyStoreKeychainIdentifier = @"com.salesforce.keystore.passcodeKeystoreKeychainId";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#import "SFSDKCryptoUtils.h"
#import "SFPBKDFData.h"
#import <CommonCrypto/CommonCrypto.h>
#import <SalesforceSDKCore/NSData+SFAdditions.h>
#import "NSData+SFAdditions.h"
#import <Security/Security.h>

// Public constants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#import "SFSHA256PasscodeProvider.h"
#import <SalesforceSDKCore/SFKeychainItemWrapper.h>
#import "SFKeychainItemWrapper.h"

static NSString * const kKeychainIdentifierPasscode = @"com.salesforce.security.passcode";

Expand Down
2 changes: 0 additions & 2 deletions shared/hybrid/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Licensed to the Apache Software Foundation (ASF) under one
//

#import "AppDelegate.h"
// #import "MainViewController.h"

#import <Cordova/CDVPlugin.h>

@implementation AppDelegate
Expand Down

0 comments on commit 0056c4e

Please sign in to comment.